[ https://issues.apache.org/jira/browse/BEAM-8040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17066843#comment-17066843 ]
Kenneth Knowles commented on BEAM-8040: --------------------------------------- I think the PR I just added, plus my work on nulls. > 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-zetasql > Reporter: Rui Wang > Assignee: Kenneth Knowles > Priority: Major > > NullPointerException when selecting from a table that doesn't exist. > {code} > 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) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)