Commit graph

5 commits

Author SHA1 Message Date
tgruben
12e00c7949 Tstore PQL and rangeIterator (#2368)
* added varchar type; create table works; show columns works; wip on b+tree

* added page compaction on inserts where page has no free space

* fix bug with unpinning pages where depth of internal nodes > 1

* Now handling schema in it's own btree

* fixed some bugs

* null inserts, better tuple payload

* refactor tstore holdings

* refactor tstore management

* seekable read iterator compiles

* tstore rangeiteraor
Tstore pql command

* tstore rangeiteraor
Tstore pql command

* encoding/decoding support for TupleResults(Tstore)

* simplified range iterator

* add column filter for tstore

* bug fix

---------

Co-authored-by: pokeeffe-molecula <patrick.okeeffe@molecula.com>
2023-04-10 10:52:46 -05:00
Travis Turner
aa17b8d725
Enable linter: stylecheck (#2317)
* Enable linter: stylecheck

This enabled the stylecheck linter, but excludes some staticchecks for
now. The following are ignored because they will take a bit of time to
address, but the intention is to address them and remove them from the
exclusion list.

ST1000: at least one file in a package should have a package comment
ST1003: golang naming standards
ST1008: error should be returned as the last argument
ST1016: methods on the same type should have the same receiver name
ST1020: comment on exported function

* Address ST1015

For some reason this failed in CI but not locally. I can't figure out
why that check isn't happening locally. This just moves the switch
statements around so that the `default` is the first (or last) item.

* Adjust error string in test to match case-adjusted error

* Remove TestCloseTimeout
2023-03-14 08:45:18 -05:00
pokeeffe-molecula
a1fc6d04a1 introduce performance counters and system table fanout, plus refactor metrics (#2363)
* performance counters

* first cut of perf counters and system table fanout and a wire protocol
* significantly refactored prometheus support; removed statsd and exprvar

* removed node_id

* put dax subquery test back

* Change Translator.TranslateFieldIDs method to take a dax.TableKeyer

There are a bunch of other calls to the Translator interface methods
with currently take an `index string`, and those need to be converted to
dax.TableKeyer as well. But I need to review each call, because in at
least one place I noticed one being called with `result.Index` instead
of with the qtbl available. And I don't yet know how those could be
different.

Co-authored-by: Travis Turner <travis@molecula.com>
(cherry picked from commit 7f6ea0e6e5)
2023-01-19 21:35:02 +00:00
tgruben
2fc7abd72e Dataframe (#2241)
* Dataframe

(cherry picked from commit 2f1beaf119)
2022-12-12 09:01:20 -08:00
Fletcher Haynes
eb06bb50ae Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00