Skip to content

Commit 319e685

Browse files
authored
Merge pull request #8891 from scott-epperly/patch-5
Note for auto_create_table
2 parents 5eecadf + efefd5e commit 319e685

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/t-sql/statements/copy-into-transact-sql.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -274,17 +274,17 @@ IDENTITY_INSERT specifies whether the identity value or values in the imported d
274274

275275
#### *AUTO_CREATE_TABLE = { 'ON' | 'OFF' }*
276276

277-
*AUTO_CREATE_TABLE* specifies if the table could be automatically created by working alongside with automatic schema discovery. It is available only for parquet files.
277+
*AUTO_CREATE_TABLE* specifies if the table could be automatically created by working alongside with automatic schema discovery. It is available only for Parquet files.
278278

279-
- ON: Enables automatic table creation. The COPY INTO process will create a new table automatically by discovering the structure of the file to be loaded.
279+
- ON: Enables automatic table creation. The COPY INTO process will create a new table automatically by discovering the structure of the file to be loaded. Can also be used with preexisting tables to take advantage of automatic schema discovery of Parquet files.
280280
- OFF: Automatic table creation is not enabled. Default.
281281

282282
>[!NOTE]
283283
> The automatic table creation works alongside with automatic schema discovery. The automatic table creation is NOT enabled by default.
284284
285-
Do not load into hash distributed tables from parquet files using COPY INTO with AUTO_CREATE_TABLE = 'ON'.
285+
Do not load into hash distributed tables from Parquet files using COPY INTO with AUTO_CREATE_TABLE = 'ON'.
286286

287-
If parquet files are to be loaded into hash distributed tables using COPY INTO, load it into a round robin staging table followed by INSERT ... SELECT from that table to the target hash distributed table.
287+
If Parquet files are to be loaded into hash distributed tables using COPY INTO, load it into a round robin staging table followed by INSERT ... SELECT from that table to the target hash distributed table.
288288

289289
### Permissions
290290

@@ -377,7 +377,7 @@ WITH (
377377

378378
### D. Load Parquet or ORC using existing file format object
379379

380-
This example uses a wildcard to load all parquet files under a folder.
380+
This example uses a wildcard to load all Parquet files under a folder.
381381

382382
```sql
383383
COPY INTO test_parquet

0 commit comments

Comments
 (0)