[ https://issues.apache.org/jira/browse/FLINK-3640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15231990#comment-15231990 ]
ASF GitHub Bot commented on FLINK-3640: --------------------------------------- Github user fhueske commented on a diff in the pull request: https://github.com/apache/flink/pull/1862#discussion_r59007483 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/AbstractTableEnvironment.scala --- @@ -83,4 +84,17 @@ class AbstractTableEnvironment { ) TranslationContext.registerTable(dataSetTable, name) } + + /** + * Execute a SQL query on a batch [[Table]]. --- End diff -- Keep the description of this method more generic as it will be the entry point for stream SQL queries as well. > Add support for SQL queries in DataSet programs > ----------------------------------------------- > > Key: FLINK-3640 > URL: https://issues.apache.org/jira/browse/FLINK-3640 > Project: Flink > Issue Type: New Feature > Components: Table API > Affects Versions: 1.1.0 > Reporter: Vasia Kalavri > Assignee: Vasia Kalavri > > This issue covers the task of supporting SQL queries embedded in DataSet > programs. In this mode, the input and output of a SQL query is a Table. For > this issue, we need to make the following additions to the Table API: > - add a {{tEnv.sql(query: String): Table}} method for converting a query > result into a Table > - integrate Calcite's SQL parser into the batch Table API translation process. -- This message was sent by Atlassian JIRA (v6.3.4#6332)