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

[test](inverted index) set enable_common_expr_pushdown true for variant_github_events_p2 #40957

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

airborne12
Copy link
Member

Proposed changes

fix regression case of variant_github_events_p2

Exception in variant_github_events_p2/load.groovy(line 236):

UNIQUE KEY(`k`)
DISTRIBUTED BY HASH(k) BUCKETS 4
properties("replication_num" = "1", "disable_auto_compaction" = "false", "bloom_filter_columns" = "v", "variant_enable_flatten_nested" = "true");
"""
sql """insert into github_events2 select * from github_events order by k"""
sql """select v['payload']['commits'] from github_events order by k ;"""
sql """select v['payload']['commits'] from github_events2 order by k ;"""

// query with inverted index
qt_sql """select cast(v["payload"]["pull_request"]["additions"] as int) from github_events where v["repo"]["name"] match 'xpressengine' order by 1;"""
^^^^^^^^^^^^^^^^^^^^^^^^^ERROR LINE^^^^^^^^^^^^^^^^^^^^^^^^^
qt_sql """select count() from github_events where v["repo"]["name"] match 'apache' order by 1;"""
}

Exception:
java.sql.SQLException: errCode = 2, detailMessage = (172.20.50.232)[E-6001]match_any not support execute_match

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@airborne12
Copy link
Member Author

run buildall

Copy link
Member

@eldenmoon eldenmoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Sep 19, 2024
Copy link
Contributor

PR approved by at least one committer and no changes requested.

Copy link
Contributor

PR approved by anyone and no changes requested.

@airborne12 airborne12 merged commit e15c1fe into apache:master Sep 19, 2024
26 of 29 checks passed
@airborne12 airborne12 deleted the fix-case branch September 19, 2024 07:28
airborne12 added a commit that referenced this pull request Sep 19, 2024
airborne12 added a commit to airborne12/apache-doris that referenced this pull request Sep 19, 2024
…nt_github_events_p2 (apache#40957)

## Proposed changes

fix regression case of variant_github_events_p2
```
Exception in variant_github_events_p2/load.groovy(line 236):

UNIQUE KEY(`k`)
DISTRIBUTED BY HASH(k) BUCKETS 4
properties("replication_num" = "1", "disable_auto_compaction" = "false", "bloom_filter_columns" = "v", "variant_enable_flatten_nested" = "true");
"""
sql """insert into github_events2 select * from github_events order by k"""
sql """select v['payload']['commits'] from github_events order by k ;"""
sql """select v['payload']['commits'] from github_events2 order by k ;"""

// query with inverted index
qt_sql """select cast(v["payload"]["pull_request"]["additions"] as int) from github_events where v["repo"]["name"] match 'xpressengine' order by 1;"""
^^^^^^^^^^^^^^^^^^^^^^^^^ERROR LINE^^^^^^^^^^^^^^^^^^^^^^^^^
qt_sql """select count() from github_events where v["repo"]["name"] match 'apache' order by 1;"""
}

Exception:
java.sql.SQLException: errCode = 2, detailMessage = (172.20.50.232)[E-6001]match_any not support execute_match
```
airborne12 added a commit to airborne12/apache-doris that referenced this pull request Sep 29, 2024
…nt_github_events_p2 (apache#40957)

## Proposed changes

fix regression case of variant_github_events_p2
```
Exception in variant_github_events_p2/load.groovy(line 236):

UNIQUE KEY(`k`)
DISTRIBUTED BY HASH(k) BUCKETS 4
properties("replication_num" = "1", "disable_auto_compaction" = "false", "bloom_filter_columns" = "v", "variant_enable_flatten_nested" = "true");
"""
sql """insert into github_events2 select * from github_events order by k"""
sql """select v['payload']['commits'] from github_events order by k ;"""
sql """select v['payload']['commits'] from github_events2 order by k ;"""

// query with inverted index
qt_sql """select cast(v["payload"]["pull_request"]["additions"] as int) from github_events where v["repo"]["name"] match 'xpressengine' order by 1;"""
^^^^^^^^^^^^^^^^^^^^^^^^^ERROR LINE^^^^^^^^^^^^^^^^^^^^^^^^^
qt_sql """select count() from github_events where v["repo"]["name"] match 'apache' order by 1;"""
}

Exception:
java.sql.SQLException: errCode = 2, detailMessage = (172.20.50.232)[E-6001]match_any not support execute_match
```
airborne12 added a commit that referenced this pull request Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by one committer. dev/2.1.7-merged dev/3.0.2-merged reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants