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

Spark: Fix ArrayIndexOutOfBoundsException #256

Merged
merged 1 commit into from
Jul 12, 2023
Merged

Conversation

eye-gu
Copy link
Contributor

@eye-gu eye-gu commented Jul 12, 2023

close #255

@pan3793
Copy link
Collaborator

pan3793 commented Jul 12, 2023

Thanks, manually tested by disabling agg push down.

class ClickHouseScanBuilder
...

  override def pushAggregation(aggregation: Aggregation): Boolean = {
+   return false
...

It failed before this patch and success after this patch.

The future work is introducing a configuration to allow disabling agg pushdown, then we can cover it in CI.

@pan3793 pan3793 merged commit 7e1c91f into ClickHouse:master Jul 12, 2023
pan3793 pushed a commit that referenced this pull request Jul 12, 2023
… and agg pushdown does not take effects (#256)

Co-authored-by: eye <[email protected]>
pan3793 pushed a commit that referenced this pull request Jul 14, 2023
… and agg pushdown does not take effects (#256)

Co-authored-by: eye <[email protected]>
Yxang pushed a commit to Yxang/spark-clickhouse-connector that referenced this pull request Jul 14, 2023
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.

ArrayIndexOutOfBoundsException: 0
2 participants