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 2022/08/19 08:09:41 UTC

[GitHub] [dolphinscheduler] zhuyt1090 opened a new issue, #11566: [Bug] [sql task] Dynamic table name causes SQL parsing error. Because Postgres does not support single quotation marks for table names

zhuyt1090 opened a new issue, #11566:
URL: https://github.com/apache/dolphinscheduler/issues/11566

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   Define SQL tasks as follows:
   
   ![image](https://user-images.githubusercontent.com/108874436/185571825-a1305f55-dfbc-4f0c-9f1e-6389ecf2d787.png)
   
   Execute the SQL task, and the error is as follows:
   
   ![image](https://user-images.githubusercontent.com/108874436/185572706-8661ba24-fa66-4369-b7b2-d68a4de24269.png)
   
   
   
   
   
   ### What you expected to happen
   
   The Postgres data source supports the table name as a parameter
   
   ### How to reproduce
   
   1. Create an SQL task and select the Postgres data source;
   
   2. Define the query statement, and the table name is a parameter;
   
   3. Add parameters and transfer table name
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.0.0
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org.apache.org

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


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #11566: [Improvement] [sql task] Dynamic table name causes SQL parsing error. Because Postgres does not support single quotation marks for table names

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #11566:
URL: https://github.com/apache/dolphinscheduler/issues/11566#issuecomment-1254361600

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

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


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #11566: [Improvement] [sql task] Dynamic table name causes SQL parsing error. Because Postgres does not support single quotation marks for table names

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #11566:
URL: https://github.com/apache/dolphinscheduler/issues/11566#issuecomment-1261603557

   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

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


[GitHub] [dolphinscheduler] github-actions[bot] closed issue #11566: [Improvement] [sql task] Dynamic table name causes SQL parsing error. Because Postgres does not support single quotation marks for table names

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #11566: [Improvement] [sql task] Dynamic table name causes SQL parsing error. Because Postgres does not support single quotation marks for table names
URL: https://github.com/apache/dolphinscheduler/issues/11566


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

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


[GitHub] [dolphinscheduler] DarkAssassinator commented on issue #11566: [Improvement] [sql task] Dynamic table name causes SQL parsing error. Because Postgres does not support single quotation marks for table names

Posted by GitBox <gi...@apache.org>.
DarkAssassinator commented on issue #11566:
URL: https://github.com/apache/dolphinscheduler/issues/11566#issuecomment-1222360497

   i suggest that should add a TEXTPLAIN param type.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

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


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #11566: [Bug] [sql task] Dynamic table name causes SQL parsing error. Because Postgres does not support single quotation marks for table names

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #11566:
URL: https://github.com/apache/dolphinscheduler/issues/11566#issuecomment-1220381167

   Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
   * In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
   * If you haven't received a reply for a long time, you can [join our slack](https://s.apache.org/dolphinscheduler-slack) and send your question to channel `#troubleshooting`


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

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