question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] support multi-queries in single sql transformation task

See original GitHub issue

*For better global communication, please give priority to using English description, thx! *

Please review https://dolphinscheduler.apache.org/en-us/docs/development/issue.html when describe an issue.

Describe the question I think in sql transformation task, multi-queries separated by ; need supported in single sql transformation task, regardless of any driver or any connection. the SQLs parsed in the sql task can be executed in order, and when one SQL in the task failed, this task need fails too.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
zhuangchongcommented, Sep 10, 2020

@zhuangchong it’s not that meaning. I said one sql task can contain several independent sql segments separated by semicolon, which can be executed in order. It’s not the presto scenario to solve inter-instance query.

Then I got it wrong, what you said will be prepared in the next version, currently you can use shell/python to call sql files


那我理解错了,你说的这个在下个版本准备做了,目前可以使用shell/python 调用sql 文件的方式

1reaction
chenghmcommented, Sep 10, 2020

这个问题困扰了很久,不然一段sql要分成几段去执行,不是很方便

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple SQL statements SQL Transformation
Need help/ideas to execute multiple SQL statements in a SQL Transform. I have multiple SQL statements coming from a file that need to...
Read more >
SQL transformation: multiple rows to one row - Stack Overflow
Oracle supports the standard function. Postgres has string_agg() : string_agg(product, ', ' order by product). SQL Server:
Read more >
5 Query Transformations
The view contains subqueries in the SELECT list. The outer query block contains PL/SQL functions. The view participates in an outer join, and...
Read more >
How to use SQL Transformation in Informatica Cloud mapping ...
Access stored procedure and functions in a database.- Stored procedure & function names are case sensitive.- Pre-requisite: 1.
Read more >
Using a SQL query to transform data - AWS Glue Studio
A SQL transform node can have multiple datasets as inputs, but produces only a single dataset as output. In contains a text field,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found