Skip to content

Commit

Permalink
Add CSV file null value handling details to docs (#269)
Browse files Browse the repository at this point in the history
* Add null value handling to docs for CSV files

resolves #268

* Update db-project-structure.md

* Update db-project-structure.md
  • Loading branch information
gs-husam committed May 5, 2020
1 parent d9a2971 commit ef33fb6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion obevo-site/src/site/markdown/db-project-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,15 @@ COLUMN_ID, COLUMN_NAME, ADD_TIME

Just define a CSV file (quotes are supported, as is changing the comma
delimiter and null token) with the first row as the column names, and
you are set
you are set.

By default, as shown above, the literal `null` (without surrounding quotes)
is interpreted as the null value. If you wish to modify that, you can
do so using the `nullToken` property in the `METADATA` header as follows:

```
//// METADATA nullToken="myNullToken"
```

If a change is done on the table, Obevo will only deploy the incremental
change (it will compare the full dataset in the db table vs. the file
Expand Down

0 comments on commit ef33fb6

Please sign in to comment.