Skip to content

Commit 03402d7

Browse files
nerpaulaSimran-B
andauthored
Release notes: arangoimport auto detects the import file format (#388)
* arangoimport auto detects import file format * arangoimport file format * Review --------- Co-authored-by: Simran Spiller <[email protected]>
1 parent 4ae4be9 commit 03402d7

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

site/content/3.12/release-notes/version-3.12/incompatible-changes-in-3-12.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,3 +247,10 @@ This following startup options of arangodump are obsolete from ArangoDB 3.12 on:
247247
- `--tick-end`: setting this option allowed to restrict the dumped data to some
248248
time range with the MMFiles storage engine. It had no effect for the RocksDB
249249
storage engine and so it is removed now.
250+
251+
### arangoimport
252+
253+
*arangoimport* now automatically detects the type of the import file based on
254+
the file extension. The default value of the `--type` startup option has been
255+
changed from `json` to `auto`. You might need to explicitly specify the `--type`
256+
in exceptional cases now whereas it was not necessary to do so previously.

site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,5 +520,20 @@ _arangodump_ operations on the server:
520520
dump thread was blocked because it honored the server-side memory
521521
limit for dumps.
522522

523+
### arangoimport
524+
525+
The default value for the `--type` startup option has been changed from `json`
526+
to `auto`. *arangoimport* now automatically detects the type of the import file
527+
based on the file extension.
528+
529+
The following file extensions are automatically detected:
530+
- `.json`
531+
- `.jsonl`
532+
- `.csv`
533+
- `.tsv`
534+
535+
If the file extension doesn't correspond to any of the mentioned types, the
536+
import defaults to the `json` format.
537+
523538
## Internal changes
524539

0 commit comments

Comments
 (0)