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 #40983

Merged

Conversation

airborne12
Copy link
Member

cherry pick from #40957

…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
Copy link
Member Author

run buildall

@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 airborne12 merged commit 709085e into apache:branch-3.0 Sep 19, 2024
10 of 11 checks passed
@airborne12 airborne12 deleted the pick_40957_to_origin_branch-3.0 branch September 19, 2024 07:29
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.

2 participants