You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2020/06/11 07:34:11 UTC

[GitHub] [incubator-dolphinscheduler] BoYiZhang opened a new issue #2953: [QUESTION] Whether hive can execute multiple SQL statements

BoYiZhang opened a new issue #2953:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2953


   Whether hive can execute multiple SQL statements
   version: 1.3.0
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] zhuangchong commented on issue #2953: [QUESTION] Whether hive can execute multiple SQL statements

Posted by GitBox <gi...@apache.org>.
zhuangchong commented on issue #2953:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2953#issuecomment-642555390


   Use ';' to separate


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] gabrywu commented on issue #2953: [QUESTION] Whether hive can execute multiple SQL statements

Posted by GitBox <gi...@apache.org>.
gabrywu commented on issue #2953:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2953#issuecomment-643143903


   > Whether hive can execute multiple SQL statements
   > version: 1.3.0
   
   Currently ,we can't execute multiple SQL statements. Because the SQL is executed by jdbc Statement object, and each Statement can only run one SQL.
   If you want to execute multiple SQL, you'd better merge them into one, which looks like 
   `insert into emp(id,name,age) 
   select '1','name-1',22 union all 
   select '2','name-2',12 union all 
   select '3','name-3',18
   `


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] BoYiZhang closed issue #2953: [QUESTION] Whether hive can execute multiple SQL statements

Posted by GitBox <gi...@apache.org>.
BoYiZhang closed issue #2953:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2953


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] BoYiZhang commented on issue #2953: [QUESTION] Whether hive can execute multiple SQL statements

Posted by GitBox <gi...@apache.org>.
BoYiZhang commented on issue #2953:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2953#issuecomment-643096911


   it's not work 
   
   ![image](https://user-images.githubusercontent.com/39816903/84473104-0c184380-acbb-11ea-8b71-3280d7327f44.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org