Rui Wang created BEAM-8040:
------------------------------

             Summary: NPE in table name resolver when selecting from a table 
that doesn't exist
                 Key: BEAM-8040
                 URL: https://issues.apache.org/jira/browse/BEAM-8040
             Project: Beam
          Issue Type: Sub-task
          Components: dsl-sql
            Reporter: Rui Wang


NullPointerException when selecting from a table that doesn't exist.


Caused by: java.lang.NullPointerException
at 
org.apache.beam.sdk.extensions.sql.zetasql.TableResolverImpl.assumeLeafIsTable(TableResolverImpl.java:42)
at 
org.apache.beam.sdk.extensions.sql.zetasql.TableResolution.resolveCalciteTable(TableResolution.java:48)
at 
org.apache.beam.sdk.extensions.sql.zetasql.SqlAnalyzer.addTableToLeafCatalog(SqlAnalyzer.java:174)
at 
org.apache.beam.sdk.extensions.sql.zetasql.SqlAnalyzer.lambda$createPopulatedCatalog$0(SqlAnalyzer.java:132)




--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to