FUSE_STATISTIC (Lakehouse v1)
Returns the estimated number of distinct values of each column in a table.
SQL Syntax
Section titled “SQL Syntax”FUSE_STATISTIC('<database_name>', '<table_name>')SQL Examples
Section titled “SQL Examples”You’re most likely to use this function together with ANALYZE TABLE <table_name> to generate and check the statistical information of a table. For more explanations and examples, see OPTIMIZE TABLE.