Commit Graph

133 Commits

Author SHA1 Message Date
Andy Arthur b29f1d260f Merge remote-tracking branch 'origin/main' into andy/schema-encoding 2022-06-16 09:39:08 -07:00
Andy Arthur cfc8158f55 populating clustered index field for keyless schemas 2022-06-15 15:24:19 -07:00
Aaron Son ac3fc4168b go/store/prolly: Create a CommitClosure ordered tree. Use it in go/store/datas for the commit closure. 2022-06-15 15:18:46 -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 362c0976e8 modified schema.fbs with FileID and separate fields for sql_type, default_value, and comment 2022-06-15 12:53:42 -07:00
Dhruv Sringari b1a972dd31 [no-release-notes] store conflicts in unified merge artifacts table (#3579)
* Add Hash160Enc

* persist and read conflicts from merge artifacts table

* update some tests

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* comment / cleanup prolly/artifact_map.go

* ~copyright~

* reskip TestDoltMerge

* rename Hash160Enc to Address

* change ArtifactType from string to uint8

* fix zero value for ArtifactType

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-06-09 13:07:47 -07:00
zachmu 000485bb3f [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-06-08 17:33:03 +00:00
Aaron Son 74bf8541d8 Merge remote-tracking branch 'origin/main' into aaron/datas-storeroot-uses-prolly-tree 2022-06-06 17:18:46 -07:00
jennifersp 2da4ba7457 add to client event type 2022-06-06 09:42:15 -07:00
Aaron Son e6c42fdad1 go/serial: Remove unused RefMap. 2022-06-02 16:57:30 -07:00
Aaron Son f292de1bcb go/libraries/doltcore/doltdb/durable: Convert index storage to be AddressMap instead of RefMap. 2022-06-02 16:51:03 -07:00
Aaron Son ff43e93f65 go/libraries/doltcore/doltdb: root_val: Tables in AddressMap instead of RefMap. 2022-06-02 16:13:11 -07:00
Aaron Son bad143cbcb go/store/datas: StoreRoot RefMap -> AddressMap. 2022-06-02 14:41:13 -07:00
Andy Arthur 22e9d301f4 pr feedback from Aaron 2022-06-01 12:04:57 -07:00
Andy Arthur 2b7ff514b1 Merge remote-tracking branch 'origin/main' into andy/schema-encoding 2022-05-31 14:53:55 -07:00
Andy Arthur 6e33deb621 first pass at schema schema 2022-05-25 14:30:28 -07:00
Andy Arthur dde1d31fd0 added value encodings to flatbuffers schema 2022-05-25 13:55:12 -07:00
Andy Arthur 225f1f186f added unsafe string conversion for serial.GetFileID, refactored prolly/benchmark 2022-05-10 16:20:33 -07:00
Andy Arthur f49fdf78ee comment doc, cleanup 2022-05-03 10:05:01 -07:00
Andy Arthur 0087c58d8c added address map serialization 2022-05-03 09:39:29 -07:00
Andy Arthur 68c796ff49 Merge remote-tracking branch 'origin/main' into andy/generic-prolly-node 2022-05-02 16:01:25 -07:00
Andy Arthur 63e666a2ba added file identifier for prolly nodes 2022-04-29 15:42:59 -07:00
Maximilian Hoffman c300fb63cb [no-release-notes] fb-database deprecated by rootvalue (#3328) 2022-04-29 15:00:53 -07:00
Andy Arthur c9bee38f9f added subtree_counts array to RefMap 2022-04-29 11:51:09 -07:00
Andy Arthur 7d0520a54e Merge branch 'main' into andy/refactor-prolly-message 2022-04-28 15:53:08 -07:00
Aaron Son 3b12c6b242 go/serial/workingset.fbs: Store MergeState inline a WorkingSet.
Until this point, __DOLT_DEV__ has left MergeState in the working set
as an address pointing at a types.Struct with the root value ref and
the from commit inlined. This converts MergeState to store the commit
as an address and to store both addrs inline the MergeState table.
2022-04-27 15:17:39 -07:00
Andy Arthur 9252d1c1f8 cleanup, refactor node walks 2022-04-27 15:09:10 -07:00
Andy Arthur ef39be360e refactored prolly.fbs with new schema for ProllyTreeNode (TupleMap) message 2022-04-27 13:49:30 -07:00
Aaron Son a91fabd59b go/libraries/doltcore/doltdb/durable: table: Make __DOLT_DEV__ IndexSet and Table implementations. 2022-04-22 13:05:51 -07:00
Aaron Son 64a6148406 go/serial/rootvalue.fbs: Embed Tables RefMap. 2022-04-19 09:20:43 -07:00
Aaron Son 736bb01eb8 go/libraries/doltcore/doltdb: root_val.go: Iterate on flatbuffers RootValue implementation. 2022-04-07 11:16:02 -07:00
Aaron Son 5b1957029e go/serial: commit.fbs: Remove ref heights from commit storage. Skip and fix store/cmd tests to pass with Format_DOLT_DEV. 2022-04-04 13:26:01 -07:00
Maximilian Hoffman 65ed7401bc GMS bump for transform refactor (#3128)
* GMS bump for transform refactor

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* bump GMS

* bump GMS

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2022-04-01 15:36:44 -07:00
Aaron Son 7b1406ccce Revert "Revert "Merge pull request #3077 from dolthub/aaron/datas-commit-as-fb-message""
This reverts commit ee68e00000.
2022-03-29 11:09:54 -07:00
Aaron Son ee68e00000 Revert "Merge pull request #3077 from dolthub/aaron/datas-commit-as-fb-message"
This reverts commit 87bf948031, reversing
changes made to b9e2348472.
2022-03-28 17:40:09 -07:00
Aaron Son 28e0aa9796 go/store/datas: Iterator on commit_flatbuffer. 2022-03-22 10:29:17 -07:00
Aaron Son f9e8f1fada go.mod,proto/third_party: Bump protobuf dependencies to migrate from github.com/golang/protobuf to google.golang.org/protobuf. 2022-03-18 13:06:19 -07:00
Aaron Son 942d05a59d Merge remote-tracking branch 'origin/main' into aaron/datas-new-format-nonchunking-refmap 2022-03-03 11:13:19 -08:00
Aaron Son 6307f96e6f go/store/datas: Add flatbuffers serialization for workingset. 2022-03-02 16:32:24 -08:00
Aaron Son c6e5cfa0bc go/store/datas: Pass at a read path for fb/serial Tag heads. 2022-03-01 17:16:48 -08:00
Aaron Son 30fdba1915 go/store/datas: Add a write path for flatbuffers tags. 2022-02-28 17:19:44 -08:00
Aaron Son 80094769a4 go/store/datas: NewTag -> newTag. 2022-02-28 16:24:56 -08:00
Aaron Son bd99c09b5e go/store/datas: Use a storeroot table chunk instead of a raw refmap as the root value. Add file identifier to storeroot. 2022-02-24 13:50:51 -08:00
Andy Arthur 62a0003f93 abandoning tree accounting, added ref_cardinalities field for TupleMap flatbuffer schema 2022-02-16 15:57:30 -08:00
Andy Arthur 62dc408841 cleaup 2022-01-07 10:27:20 -08:00
Andy Arthur 602b2a4ba0 updated generate.sh to include table.fbs 2022-01-06 13:49:36 -08:00
Andy Arthur ac8056304b added WorkingSet flatbuffer 2022-01-06 13:46:17 -08:00
Andy Arthur c231e717f3 split out table.fbs, updated size tests 2022-01-06 13:10:47 -08:00
Andy Arthur 2e2cc85709 added column type, reduced prolly node size 2022-01-04 10:01:34 -08:00