Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

[NSE-981] Add a test suite for projection codegen #1058

Merged
merged 10 commits into from
Sep 26, 2022

Conversation

PHILO-HE
Copy link
Collaborator

@PHILO-HE PHILO-HE commented Aug 8, 2022

What changes were proposed in this pull request?

Testing projection codegen is lacking in the current code. This PR is proposing a test suite for testing it.

How was this patch tested?

UT.

@github-actions
Copy link

github-actions bot commented Aug 8, 2022

Thanks for opening a pull request!

Could you open an issue for this pull request on Github Issues?

https://github.com/oap-project/native-sql-engine/issues

Then could you also rename commit message and pull request title in the following format?

[NSE-${ISSUES_ID}] ${detailed message}

See also:

@PHILO-HE PHILO-HE changed the title Add a test suite for projection codegen [NSE-981] Add a test suite for projection codegen Aug 8, 2022
@github-actions
Copy link

github-actions bot commented Aug 8, 2022

#981

@PHILO-HE
Copy link
Collaborator Author

PHILO-HE commented Aug 18, 2022

For datasource v2, with columnar hash agg wscg directly connected to columnar batch scan, the below exception is reported.

java.lang.RuntimeException: nativeNext: get Next() failed - RecordBatch must be non-empty.

@PHILO-HE PHILO-HE force-pushed the codegen-test branch 2 times, most recently from 8544b7d to ed978c0 Compare September 22, 2022 06:12
@PHILO-HE PHILO-HE marked this pull request as ready for review September 22, 2022 06:29
@PHILO-HE
Copy link
Collaborator Author

@zhouyuan, please have a review.

@zhouyuan zhouyuan merged commit 2a9a03c into oap-project:main Sep 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants