Github user cloud-fan commented on a diff in the pull request: https://github.com/apache/spark/pull/19774#discussion_r152005780 --- Diff: sql/core/src/test/resources/sql-tests/inputs/describe-table-column.sql --- @@ -24,6 +24,19 @@ DESC EXTENDED desc_col_table key; DESC FORMATTED desc_col_table key; +-- Test output for histogram statistics +SET spark.sql.statistics.histogram.enabled=true; +SET spark.sql.statistics.histogram.numBins=2; + +INSERT INTO desc_col_table values 1, 2, 3, 4; + +ANALYZE TABLE desc_col_table COMPUTE STATISTICS FOR COLUMNS key; + +DESC EXTENDED desc_col_table key; --- End diff -- shall we move these to the end of this file?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org