databendlabs / databend

๐——๐—ฎ๐˜๐—ฎ, ๐—”๐—ป๐—ฎ๐—น๐˜†๐˜๐—ถ๐—ฐ๐˜€ & ๐—”๐—œ. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com
https://docs.databend.com
Other
7.85k stars 750 forks source link

fix: non-default catalog should not call get_table_function #16410

Closed Xuanwo closed 2 months ago

Xuanwo commented 2 months ago

Signed-off-by: Xuanwo github@xuanwo.io

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

Non-default catalog doesn't have table functions, we should avoid calling them.

Tests

Type of change


This change isโ€‚Reviewable