-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Add table statistics and automatic Join pushdown for SQL Server connector #11637
Conversation
Currently based on #11635 |
02001be
to
f35810b
Compare
rebased after #11635 merged |
@Override | ||
protected void checkEmptyTableStats(String tableName) | ||
{ | ||
// TODO: Empty tables should have NDV as 0 and nulls fraction as 1 (https://starburstdata.atlassian.net/browse/SEP-5963) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
link?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rmeoving link, leaving the comment
...in/trino-sqlserver/src/test/java/io/trino/plugin/sqlserver/TestSqlServerTableStatistics.java
Show resolved
Hide resolved
...in/trino-sqlserver/src/test/java/io/trino/plugin/sqlserver/TestSqlServerTableStatistics.java
Outdated
Show resolved
Hide resolved
...in/trino-sqlserver/src/test/java/io/trino/plugin/sqlserver/TestSqlServerTableStatistics.java
Outdated
Show resolved
Hide resolved
f35810b
to
4660968
Compare
( just rebased ) |
4660968
to
0a2ae91
Compare
2ca822a
to
3045084
Compare
In https://github.com/trinodb/trino/runs/5784397964?check_suite_focus=true the SQL Server tests crashed. |
Project's default for air.test.parallel is 'methods'. By design, 'classes' makes TestNG run tests from one class in a single thread. | ||
As a side effect, it prevents TestNG from initializing multiple test instances upfront, which happens with 'methods'. | ||
A potential downside can be long tail single-threaded execution of a single long test class. | ||
TODO (https://github.com/trinodb/trino/issues/11294) remove when we upgrade to surefire with https://issues.apache.org/jira/browse/SUREFIRE-1967 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is supposed to workaround OOM problems when multiple test instances are initialized. This seems to be prerequisite if we want to add more QueryRunner-based tests.
3045084
to
909b3ca
Compare
( just rebased, to resolve conflicts in ci.yml ) |
stress tests awesomely green; sqlserver x20 https://github.com/trinodb/trino/runs/5858695489?check_suite_focus=true |
c16a613
to
786b693
Compare
( dropped stress tests ) |
No description provided.