If you save a DataFrame with saveParquetTable and do not specify any bucketing and/or sort by columns, then readParquetTable is raising a ParseException.
ParseException:
mismatched input 'None' expecting INTEGER_VALUE(line 1, pos 149)
== SQL ==
CREATE TABLE IF NOT EXISTS tmp (col1 bigint, col2 bigint, col3 bigint) USING PARQUET PARTITIONED BY (col1) CLUSTERED BY (None) SORTED BY (None) INTO None BUCKETS LOCATION 'tmp.parquet'
Looks like readParquetTable isn't converting the None to "None", and _sql_builder is expecting a str value for the partitions, buckets, and sort by columns.
If you save a DataFrame with
saveParquetTable
and do not specify any bucketing and/or sort by columns, thenreadParquetTable
is raising aParseException
.Looks like
readParquetTable
isn't converting theNone
to"None"
, and_sql_builder
is expecting astr
value for the partitions, buckets, and sort by columns.