Commit Graph

111 Commits

Author SHA1 Message Date
Aaron Son
61b8f0f19f Merge remote-tracking branch 'origin/main' into aaron/nbs-table-file-finalizer-panic-always-on 2023-02-28 21:58:40 -08:00
James Cor
e9ab728161 blocking in old format and adding test 2023-02-21 11:07:46 -08:00
Aaron Son
55a13e8452 go/store/nbs: Make the panic in the finalizer for an unclosed table file index always on.
Add a flag to make it not take the stack trace at the time of index creation.
Disable stack trace taking by default.

Make all unit tests pass the sanity checking.
2023-02-17 15:39:07 -08:00
James Cor
a99ef68375 omitempty 2023-02-16 13:29:13 -08:00
James Cor
07a027a03f Merge branch 'james/spatial-enc' into james/spatial-index-test 2023-01-25 10:24:09 -08:00
zachmu
21c922a9c9 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-01-24 19:59:31 +00:00
Zach Musgrave
e77ae77452 Changed types2 import alias to gmstypes everywhere 2023-01-24 11:53:44 -08:00
JCOR11599
b5ac853499 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-01-23 23:23:39 +00:00
James Cor
29462ff045 serialization working 2023-01-23 14:41:03 -08:00
James Cor
94dcffce7e adding spatial index bool to flatbuffers 2023-01-23 12:41:49 -08:00
Zach Musgrave
ad4bf92b95 Dolt changes for sql types package 2023-01-09 11:21:34 -08:00
James Cor
25cd26fd15 nils 2022-11-10 14:58:34 -08:00
James Cor
12b200872e removing extra prefix lengths 2022-11-10 14:42:12 -08:00
James Cor
795a81e047 adding index prefix lengths in creation instead of setting 2022-11-10 12:37:02 -08:00
James Cor
65ebf4ee54 cleaning up 2022-11-09 16:56:07 -08:00
James Cor
4a5347e03a merge with main 2022-11-09 16:01:23 -08:00
jennifersp
4d37a10e13 fix decimal result print (#4683) 2022-11-08 16:49:54 -08:00
James Cor
3198fe24c5 allow caching schemas again 2022-11-08 14:31:27 -08:00
James Cor
291cd24622 removing pk prefix lengths 2022-11-07 16:06:05 -08:00
James Cor
954a1e2c8a clean merge 2022-11-07 15:54:41 -08:00
Daylon Wilkins
1ee14d9f74 Add support for table-level collations 2022-08-26 08:10:44 -07:00
Aaron Son
e16975e50c Merge remote-tracking branch 'origin/main' into aaron/fb-error-on-new-fields 2022-08-16 12:06:40 -07:00
Aaron Son
7906c9e98f go/{store,libraries,gen}: Adopt new flatc, throw an error if we encounter unknown fields. 2022-08-16 11:57:14 -07:00
Andy Arthur
ede501b515 added failure messages to new format assertions 2022-08-15 16:42:33 -07:00
Aaron Son
5fcd3ccee4 go/store/prolly/message: Move MessagePrefixSz, FinishMessage to serial package. 2022-07-22 14:16:34 -07:00
Aaron Son
4f3f4e17af go/store/types: SerialMessage: Unify TupleRowStorage and SerialMessage.
Get rid of TupleRowStorage and use SerialMessage everywhere. In turn, change
SerialMessage so that it carries its kind and size prefix as part of itself.
2022-07-22 11:56:48 -07:00
Andy Arthur
df99c228b2 stop reading/writing super schema 2022-07-19 14:02:32 -07:00
Aaron Son
829981ad64 doltdb: Remove some shims from VRW to NodeStore; carry NodeStores around. 2022-07-05 13:28:56 -07:00
Andy Arthur
c8393ea469 initialize objects consistently 2022-06-17 13:25:58 -07:00
Andy Arthur
4891d338c9 be less paranoid deserialized flatbuffer schema messages 2022-06-17 10:38:43 -07:00
Andy Arthur
02c5770f7d add caching for flatbuffers schema schemas 2022-06-16 14:45:30 -07:00
Andy Arthur
8a61f7ffac fix schema marshalling test 2022-06-16 10:28:57 -07:00
Andy Arthur
ca1c7fa5ee replaced uses of types.UUID with types.InlineBlob, and replace types.Bool with types.Int 2022-06-16 09:39:22 -07:00
Andy Arthur
0081db96dc use flatbuffers serialization for __DOLT_DEV__ schemas 2022-06-16 09:39:22 -07:00
Andy Arthur
89063964cc fix schema marshalling test 2022-06-15 16:34:49 -07:00
Andy Arthur
3022ffc91d cleanup 2022-06-15 15:57:12 -07:00
Andy Arthur
cfc8158f55 populating clustered index field for keyless schemas 2022-06-15 15:24:19 -07:00
Andy Arthur
8bb79d0831 roundtrip SRID, revert __DOLT_DEV__ to Noms un/marshalling 2022-06-15 12:54:33 -07:00
Andy Arthur
174f5601a0 added serial encodings, handling keyless schemas 2022-06-15 12:54:33 -07:00
Andy Arthur
380d39651f added integration tests for schema/encoding 2022-06-15 12:54:33 -07:00
Andy Arthur
73c9810984 iterating on schema encoding, added checks and secondary indexes 2022-06-15 12:54:33 -07:00
Andy Arthur
b5e7d9fad2 roundtripping simple schemas 2022-06-15 12:54:33 -07:00
Andy Arthur
7963947083 first pass at schema serialization 2022-06-15 12:53:42 -07:00
Andy Arthur
362c0976e8 modified schema.fbs with FileID and separate fields for sql_type, default_value, and comment 2022-06-15 12:53:42 -07:00
James Cor
167bc6b0b1 reverting encoding schema column constraints function 2022-03-08 15:33:17 -08:00
James Cor
f85436c6ba accidental comment 2022-03-08 09:59:07 -08:00
James Cor
b16a08a4c3 constraint equal reverted 2022-03-07 13:32:36 -08:00
James Cor
f0d47bd82f changes 2022-03-07 13:08:08 -08:00
James Cor
9c654eafef before writing schema to disk, we collapse all duplicate not null constraints 2022-03-04 14:11:42 -08:00
Aaron Son
52fc803365 Remove ValueReadWriter interface from Database. 2022-02-01 17:20:06 -08:00