[ https://issues.apache.org/jira/browse/FLINK-33093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dawid Wysakowicz closed FLINK-33093. ------------------------------------ Resolution: Fixed Fixed in 05b0b61c62434c73cd819750c0d56b1070a2b0f2 > SHOW FUNCTIONS throw exception with unset catalog > ------------------------------------------------- > > Key: FLINK-33093 > URL: https://issues.apache.org/jira/browse/FLINK-33093 > Project: Flink > Issue Type: Bug > Components: Table SQL / API > Affects Versions: 1.18.0 > Reporter: Dawid Wysakowicz > Assignee: Dawid Wysakowicz > Priority: Major > Labels: pull-request-available > Fix For: 1.18.0 > > > A test like this throw an exception. It should instead return only built-in > functions > {code} > @Test > public void testUnsetCatalogWithShowFunctions() throws Exception { > TableEnvironment tEnv = TableEnvironment.create(ENVIRONMENT_SETTINGS); > tEnv.useCatalog(null); > TableResult table = tEnv.executeSql("SHOW FUNCTIONS"); > final List<Row> functions = > CollectionUtil.iteratorToList(table.collect()); > // check it has some built-in functions > assertThat(functions).hasSizeGreaterThan(0); > } > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)