[ https://issues.apache.org/jira/browse/FLINK-2167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14933096#comment-14933096 ]
ASF GitHub Bot commented on FLINK-2167: --------------------------------------- Github user aljoscha commented on a diff in the pull request: https://github.com/apache/flink/pull/1127#discussion_r40534836 --- Diff: flink-staging/flink-table/src/main/scala/org/apache/flink/api/java/table/JavaBatchTranslator.scala --- @@ -118,6 +140,12 @@ class JavaBatchTranslator extends PlanTranslator { case Root(dataSet: JavaDataSet[Row], resultFields) => dataSet + case Root(tableSource: AdaptiveTableSource, resultFields) => + if (env == null) { + throw new InvalidProgramException("This operation requires an TableEnvironment."); --- End diff -- semicolon > Add fromHCat() to TableEnvironment > ---------------------------------- > > Key: FLINK-2167 > URL: https://issues.apache.org/jira/browse/FLINK-2167 > Project: Flink > Issue Type: New Feature > Components: Table API > Affects Versions: 0.9 > Reporter: Fabian Hueske > Assignee: Timo Walther > Priority: Minor > Labels: starter > > Add a {{fromHCat()}} method to the {{TableEnvironment}} to read a {{Table}} > from an HCatalog table. > The implementation could reuse Flink's HCatInputFormat. -- This message was sent by Atlassian JIRA (v6.3.4#6332)