Commit d75b0cc1 authored by 赵建伟's avatar 赵建伟

update codes

parent 12f7e5f4
......@@ -123,7 +123,7 @@
<workItem from="1588154352798" duration="195000" />
<workItem from="1588220085338" duration="7993000" />
<workItem from="1588248522289" duration="2820000" />
<workItem from="1588344251422" duration="19665000" />
<workItem from="1588344251422" duration="20092000" />
</task>
<task id="LOCAL-00001" summary="add init codes.">
<created>1587723565207</created>
......
......@@ -217,7 +217,7 @@
<workItem from="1588148891822" duration="2318000" />
<workItem from="1588152718016" duration="1463000" />
<workItem from="1588154601852" duration="28557000" />
<workItem from="1588344252163" duration="14591000" />
<workItem from="1588344252163" duration="15018000" />
</task>
<servers />
</component>
......
......@@ -64,6 +64,7 @@ public class HivesqlServiceImpl implements HivesqlService {
try{
conn = DriverManager.getConnection(hiveSqlJdbcUrl,"bi","");
Statement statement = conn.createStatement();
statement.executeUpdate("set role admin");
int updateCount = statement.executeUpdate(hql);
if(updateCount > 0){
logger.info("*** Execute success, hql: {}",hql);
......
set role admin;
INSERT INTO TABLE pm.tl_pm_zjw select * from offline.tmp_zhx_20191227 where time = 'AI';
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment