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

Ci/check update pysesssion #14

Closed
wants to merge 45 commits into from
Closed

Ci/check update pysesssion #14

wants to merge 45 commits into from

Conversation

aqni
Copy link
Owner

@aqni aqni commented Dec 11, 2024

No description provided.

zhuyuqing and others added 30 commits April 16, 2024 09:27
…GinX-THU#444)

* use default meta config for mysql

* for tests

* restore tests

* use props file for pg

* restore tests

* remove unused file

* restore mysql test config

---------

Co-authored-by: Yuqing Zhu <[email protected]>
支持在函数参数中使用表达式
1. 增加生成自增列的语法
2. 增加KEY列的操作语法,包括:将特定列升级成KEY列,将KEY列降级成普通列
详见https://oxlh5mrwi0.feishu.cn/docx/Gd8pd1aMDoNMIexXBPJcaea6n0g
* feat(shared): retry connect

* feat(jdbc): new prefix `jdbc:iginx:tsdb:`

---------

Co-authored-by: Yuqing Zhu <[email protected]>
IGinX-THU#456)

* fix(MAX_HEAP_SIZE): set max heap siez max(min(1/2 ram, 1024MB), min(1/4 ram, 64GB))

* fix start_iginx.bat

* fix(MAX_HEAP_SIZE): user-defined ratio

* fix(MAX_HEAP_SIZE): user-defined ratio

* fix(MAX_HEAP_SIZE, MIN_HEAP_SIZE): user-defined percentage

* fix(MAX_HEAP_SIZE, MIN_HEAP_SIZE): user-defined percentage

---------

Co-authored-by: Yuqing Zhu <[email protected]>
Test connection before registering engine.

When a new database is registered, check for existing databases with the same IP and port. If the connection fails and the existing database is read-only, delete the existing database.
* docs: add FAQ to quickstart to explain how to resolve problems

The following artifacts could not be resolved: cn.edu.tsinghua.iginx:parquet-file

* chore: fix `mvn clean install -U -Dmaven.test.skip=true`

* build: fix session_py format

---------

Co-authored-by: Yuqing Zhu <[email protected]>
实现了规则组,将一系列相同的规则放到一个规则组中,以简化规则的设置和更改。

原有的Set Rules命令现在会更改规则组而不是规则

目前以下规则合并入规则组

一系列谓词下推规则 -> FilterPushDownRule
ColumnPruningRule和FragmentPruningByPatternRule -> ColumnPruningRule
一系列ConstantFoldingRule -> ConstantFoldingRule
一系列DistinctEliminateRule -> DistinctEliminateRule

具体参考PR文档 https://oxlh5mrwi0.feishu.cn/wiki/OVt5wJxlRip2uQkiFS7c8IHNnzM

此外还删除了规则FilterJoinTransposeRule,这是一力之前写的示例规则,这里不保留了
* feat(sql): GROUP BY expr && ORDER BY expr

1.支持对GROUP BY和ORDER BY中的列使用RowToRow表达式
2.支持GROUP BY和ORDER BY中的列与SELECT子句中的别名进行匹配


Co-authored-by: Yuqing Zhu <[email protected]>
支持在filter里使用参数为表达式的函数
更新剩余TPC-H语句准备测试
Yihao-Xu and others added 13 commits October 28, 2024 10:53
实现了In Filter:

实现了在WHERE条件中加入In Filter,如:SELECT s1 FROM us.d1 WHERE s1 in (1, 2, 3, 4, 5);和SELECT s1 FROM us.d1 WHERE s1 not in (1, 2, 3, 4, 5);
修改了influxdb和relational的对接层,使其能支持InFilter下推。
实现了InFilterTransformRule:

能够将and filter中path相同的!=和not in 条件合并成一个not in 条件。
能够将or filter中path相同的=和in条件合并一个in 条件。
详细内容和测试见【PR文档】IN Filter 转换
谓词下推会将filter转换成CNF,之后FragmentPruningByFilter规则在提取key range的时候会将CNF再转成DNF,会导致指数爆炸的问题。本PR在FragmentPruningByFilter转DNF前进行一次操作将filter中的非key filter处理掉,以减少指数爆炸的问题。
* 修复列裁剪在对udf处理上的问题

* Update ColumnPruningRule.java
fix filter in sql with tagKV to enable the support of TSBS
mac上的容器运行环境为colima,依赖于qemu,因此,必须先安装qemu
增加 join using key 的语法
增加系统函数:extract
增加叠加分片范围有重叠,但实际数据不重叠的测试
计算 sum 和 avg 时,如果该列全为 null,均返回 null, count仍为0
修正ImportFileIT
If ip is set to 0.0.0.0, find the real local ip.
Co-authored-by: Yuqing Zhu <[email protected]>
@aqni aqni force-pushed the ci/check-update-pysesssion branch from 2d22fa5 to 9652c65 Compare December 12, 2024 06:31
@aqni aqni closed this Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants