Skip to content

Commit

Permalink
#282 - updated tsid design doc
Browse files Browse the repository at this point in the history
  • Loading branch information
grabdoc committed Feb 15, 2024
1 parent e3fca04 commit ee46fc0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions design/insert.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
2. If `includeColumns` is specified then use those instead of #1
3. If a column with default value is not included in #1 or #2 above then it will be set to the default value by the database.
4. If `tsIdEnabed = true`, then find the primary key columns. (apply for all rows of data)
- detect the data type - if integer type, set a numeric TSID.
- if the data type is string - set string type TSID.
- add these columns in the data.
- detect the data type
- if integer type, create numeric TSID.
- if the data type is string - set string type TSID.
- add these new values (with column name as key) in the incoming dataset.

0 comments on commit ee46fc0

Please sign in to comment.