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

Ape base #222

Open
wants to merge 2 commits into
base: ape
Choose a base branch
from
Open

Ape base #222

wants to merge 2 commits into from

Conversation

yspMing
Copy link

@yspMing yspMing commented Jan 7, 2022

What changes were proposed in this pull request?

(Please fill in changes proposed in this fix)

How was this patch tested?

(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)

(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

@github-actions
Copy link

github-actions bot commented Jan 7, 2022

Thanks for opening a pull request!

Could you open an issue for this pull request on Github Issues?
https://github.com/oap-project/sql-ds-cache/issues

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

[SQL-DS-CACHE-${ISSUES_ID}] ${detailed message}

See also:

@jikunshang jikunshang changed the base branch from master to ape January 10, 2022 00:42
Copy link
Collaborator

@jikunshang jikunshang left a comment

Choose a reason for hiding this comment

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

Overall LGTM. some minor comments left. please rename PR title and add some description.

@@ -105,10 +107,15 @@ TEST(ParquetHdfsTest, ReadTest) {

// ReadBatchSpaced will record a null bitmap.
std::cout << std::endl << "test ReadBatchSpaced API" << std::endl;
std::cout<<"malloc values_rbs"<<std::endl;
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove these logs?

@@ -0,0 +1,170 @@
#include <stdlib.h>
Copy link
Collaborator

Choose a reason for hiding this comment

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

add license


TEST(predicateFilterTest, minMaxTest)
{
arrow::fs::HdfsOptions options_;
Copy link
Collaborator

Choose a reason for hiding this comment

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

format this file?


namespace ape {

class PredicateExpression : public Expression {
Copy link
Collaborator

Choose a reason for hiding this comment

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

rename to RowGroupFilterExpression would be better?


namespace ape {

class PredicateExpression : public Expression {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Possible to reuse FilterExpression since they use same expression? (say add PredicateWithParam method in FilterExpression)

@yspMing
Copy link
Author

yspMing commented Jan 10, 2022

Thanks a lot for Kunshang’s review.

I commit a new C++ file instead of adding function to the existing expression so that the basic version wouldn’t be polluted. Yes they can be merged and become more clear.

And I’ll look for and the other issues you mentioned and repair these.

@jikunshang
Copy link
Collaborator

CI failed at code style check stage. Please fix it.

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