ulysses-you commented on code in PR #37919: URL: https://github.com/apache/spark/pull/37919#discussion_r973817471
########## docs/sql-ref-syntax-ddl-create-table-datasource.md: ########## @@ -117,6 +121,15 @@ CREATE TABLE student_copy USING CSV --Omit the USING clause, which uses the default data source (parquet by default) CREATE TABLE student (id INT, name STRING, age INT); +--Use parquet data source with parquet storage options +--The columns 'id' and 'name' enable the bloom filter during writing parquet file, +--column 'age' does not enable +CREATE TABLE student_parquet(id INT, name STRING, age INT) USING PARQUET + OPTIONS ( + 'parquet.bloom.filter.enabled'='true', Review Comment: yes, both of them are fine, see: https://github.com/apache/spark/blob/59365703c51a36efca5390b7535489a839f51659/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBaseParser.g4#L365-L395 I just follow the `TBLPROPERTIES` format in this docs. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
