-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Today, when creating tables of parquet files using CREATE EXTERNAL TABLE or ListingTables, statistics are not gathered.
This is good in the sense that creating the table is fast(er) but subsequent queries might be slower
The behavior is clarified in
@davisp suggests that defaulting to collecting statistics would make more sense (and I agree):
I’ll also note that my personal preference would be to default to true purely because it took a surprising amount of work to figure out how to even report #15908 not knowing that statistics collection was a config option. I do see the rationale around the behavior change, though I’d say either way that flag is defaulted is a behavior change and true seems like a saner default.
Originally posted by @davisp in #16080 (review)