File tree 1 file changed +11
-1
lines changed
docs/source/user-guide/sql
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ LOCATION <literal>
77
77
<key_value_list> := (<literal> <literal, <literal> <literal>, ...)
78
78
```
79
79
80
- ` file_type ` is one of ` CSV ` , ` PARQUET ` , ` AVRO ` or ` JSON `
80
+ ` file_type ` is one of ` CSV ` , ` ARROW ` , ` PARQUET ` , ` AVRO ` or ` JSON `
81
81
82
82
` LOCATION <literal> ` specifies the location to find the data. It can be
83
83
a path to a file or directory of partitioned files locally or on an
@@ -102,6 +102,16 @@ WITH HEADER ROW
102
102
LOCATION ' /path/to/aggregate_simple.csv' ;
103
103
```
104
104
105
+ It is also possible to use compressed files, such as ` .csv.gz ` :
106
+
107
+ ``` sql
108
+ CREATE EXTERNAL TABLE test
109
+ STORED AS CSV
110
+ COMPRESSION TYPE GZIP
111
+ WITH HEADER ROW
112
+ LOCATION ' /path/to/aggregate_simple.csv.gz' ;
113
+ ```
114
+
105
115
It is also possible to specify the schema manually.
106
116
107
117
``` sql
You can’t perform that action at this time.
0 commit comments