Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from heavyai:master #2

Merged
merged 11 commits into from
Dec 12, 2022
Merged

Conversation

pull[bot]
Copy link

@pull pull bot commented Dec 12, 2022

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

tmostak and others added 11 commits December 12, 2022 15:54
…STINCT, APPROX_COUNT_DISTINCT, and MODE aggregates (#6997)

Signed-off-by: jack <jack@heavy.ai>
* Fix bug when heavydb is connected to an older version of RBC that don't implement function annotations

* Update QueryEngine/ExtensionFunctionsWhitelist.cpp

Co-authored-by: Pearu Peterson <pearu.peterson@gmail.com>
Signed-off-by: jack <jack@heavy.ai>
* Fix ODBC decimal column detection can return a column type with
unsupported precision.

* Improve ODBC column detection for decimals with zero precision.

Signed-off-by: jack <jack@heavy.ai>
…stributed mode

* Fix a crash that can occur when accessing log system tables with
rolled off logs in distributed mode, after switching to the
information_schema database from another database. The crash was the
result of a bug where a cached session database on the aggregator was
not updated when the switch_database Thrift API was called.

* Add TableDescriptor CHECK to RelAlgDagSerializer.

* Add a test for the above crash and another basic test for leaf log
queries.

Signed-off-by: jack <jack@heavy.ai>
…ing for queries (#6999)

* Automatically set request/thread ids in RenderCmdQueue

* Properly set the request/thread id when validating/executing render
queries.

* Set request/thread ids for threads spawned to execute vega transforms

* Set request/thread ids for threads spawned in RenderResultProcessor

* Set a request id for execute_next_render_step endpoint

Signed-off-by: jack <jack@heavy.ai>
… a crash (#7001)

* Fixup logic

* Add tests

Signed-off-by: jack <jack@heavy.ai>
* [SIO-1290] Add support for table restore from s3 compatible endpoints

* Add s3 table restore support.

* Add s3 custom endpoint support.

* Add session token support.

* Remove unused DumpRestoreTableStmtBase constructor.

* Move is_s3_uri function to file_path_util file.

* Add s3 table restore test suite.

* Delete temporary directory after restore.

Signed-off-by: jack <jack@heavy.ai>
…cted text arrays

Signed-off-by: jack <jack@heavy.ai>
Signed-off-by: jack <jack@heavy.ai>
…ted mode (#6993)

* Add test

* Retry a query wit the CPU mode exceptions via CPU mode

Signed-off-by: jack <jack@heavy.ai>
@pull pull bot added the ⤵️ pull label Dec 12, 2022
@pull pull bot merged commit e1901a2 into SINHASantos:master Dec 12, 2022
pull bot pushed a commit that referenced this pull request Jan 23, 2023
… considering `max_gpu_slab_size` (#7133)

* Cleaup perfect join hash table init

* Cleanup baseline join hashtable init

* Add rowid size getter

* Introduce hash table entry info class in perfect join hash table

* Introduce hash table entry info class in baseline join hash table

* Introduce hash table entry info class in overlaps and range join hash tables

* Fixup init log related to hash table layout

* Fixup hash table init on an empty table

* Control the maximum hash table by # hash entries for CPU and its size for GPU

* Address comment #1: revert partial_err checking logic in baseline join hash table builder

* Address comment #2

Signed-off-by: jack <jack@omnisci.com>
pull bot pushed a commit that referenced this pull request Aug 21, 2023
…ion (#7185)

* Add runtime function to create null StringView

* Support projection of none encoded string column after left join

* Address comment #1: create null StringView obj

* Address comment #2: avoid compilation error

* Address comments #3: improve codegen logic

Signed-off-by: Misiu Godfrey <misiu.godfrey@kraken.mapd.com>
pull bot pushed a commit that referenced this pull request Sep 2, 2023
* Renaming OverlapsJoinHashTable class to BoundingBoxIntersectJoinHashTable

* Rename global flag g_enable_overlaps_hashjoin to g_enable_bbox_intersect_hashjoin

* Rename overlaps hash join tuner

* Rename kOVERLAPS SQL_OP

* Fixup serialization type toString

* Rename convertOverlaps

* Rename cache types

* Rename is_overlaps_oper() function

* Rename query rewriter logic

* Change server configurations v2

* Change namings in query rewriter

* Completely remove overlaps keyword used in codebase

* Address comments #1

* Address comment #2

Signed-off-by: Misiu Godfrey <misiu.godfrey@kraken.mapd.com>
pull bot pushed a commit that referenced this pull request Sep 29, 2023
* Fixup the function's logic

* Address comments

* Address comments #2

Signed-off-by: Misiu Godfrey <misiu.godfrey@kraken.mapd.com>
pull bot pushed a commit that referenced this pull request Sep 29, 2023
* Determine the size of projection buffer based on filtered per-device cardinality when applicable

* Address comments

* Add logging about mem alloc

* Add loggig about cardinality estimation

* Address comments #1

* Address comments #2

* Disable dist test; cannot access executor instance from QR

* Add test case for sharded table (in both single and dist)

Signed-off-by: Misiu Godfrey <misiu.godfrey@kraken.mapd.com>
pull bot pushed a commit that referenced this pull request Sep 29, 2023
* Rename device bitmap ptr variable and its getter

* Rename count distinct bitmap host mem ptr getter

* Rename count_distinct device mem ptr variable

* Improve buf allocation logic for count distinct

* Cleanup code & improve logic for mode and tdigest

* Cleanup logic v2

* Address comments

* Address comments #2

Signed-off-by: Misiu Godfrey <misiu.godfrey@kraken.mapd.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants