Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
F
flink-sql-gateway-task
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiebaofa
flink-sql-gateway-task
Commits
4183b23b
Commit
4183b23b
authored
May 14, 2021
by
xiebaofa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除
parent
71e81fb7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
OriginalProcess.java
src/main/java/com/miya/hive/OriginalProcess.java
+0
-21
No files found.
src/main/java/com/miya/hive/OriginalProcess.java
deleted
100644 → 0
View file @
71e81fb7
package
com
.
miya
.
hive
;
import
com.miya.App
;
import
com.miya.common.SessionClient
;
public
class
OriginalProcess
{
private
static
final
String
SQL1
=
"use catalog myhive"
;
private
static
final
String
SQL3
=
"INSERT into accountpay_p "
+
"SELECT *,DATE_FORMAT(`date`,'yyyyMMdd') from accountpay "
;
public
static
void
main
(
String
[]
args
)
throws
Exception
{
SessionClient
session
=
new
SessionClient
(
new
App
().
getClass
().
getName
(),
"123.60.47.52"
,
8083
,
"streaming"
);
System
.
out
.
println
(
session
.
submitStatement
(
SQL1
).
getResults
());
System
.
out
.
println
(
session
.
submitStatement
(
SQL3
).
getResults
());
session
.
close
();
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment