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

Build error #483

Closed
zhli1142015 opened this issue Mar 18, 2024 · 10 comments
Closed

Build error #483

zhli1142015 opened this issue Mar 18, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@zhli1142015
Copy link

Bug description

https://github.com/oap-project/velox/blame/2024_03_18/velox/dwio/parquet/tests/reader/ParquetTableScanTest.cpp#L508C9-L510C72
__w/1/s/velox/dwio/parquet/tests/reader/ParquetTableScanTest.cpp:511:69: error: expected ')' before ';' token
511 | assertSelectWithFilter({"name"}, {}, "", "SELECT (null, 'Jones')");
| ^
| )
/__w/1/s/velox/dwio/parquet/tests/reader/ParquetTableScanTest.cpp:508:11: note: to match this '('
508 | loadData(
| ^

System information

Velox System Info v0.0.2
Commit: 73ee632
CMake Version: 3.22.1
System: Linux-5.15.146.1-microsoft-standard-WSL2
Arch: x86_64
C++ Compiler: /usr/bin/c++
C++ Compiler Version: 11.4.0
C Compiler: /usr/bin/cc
C Compiler Version: 11.4.0
CMake Prefix Path: /usr/local;/usr;/;/usr;/usr/local;/usr/X11R6;/usr/pkg;/opt

Relevant logs

No response

@zhli1142015 zhli1142015 added the bug Something isn't working label Mar 18, 2024
@zhli1142015
Copy link
Author

cc @rui-mo and @zhouyuan , thanks

@yma11
Copy link
Collaborator

yma11 commented Mar 18, 2024

@zhli1142015 I met this issue. rm _build folder and build again can help. Velox has a commit which may already fix this issue.

@zhli1142015
Copy link
Author

I thought this maybe a different issue.
error: expected ')' before ';' token
image

@yma11
Copy link
Collaborator

yma11 commented Mar 18, 2024

image

This is the same error I met and rebuild after deleting _build works. But I did not try with latest velox. So above error happens in latest velox?

@zhli1142015
Copy link
Author

This is found on 3_17 branch, I think 3_18 shoud have same issue. It's reported by our build pipeline which should starts build from a clean environment.
I think makeRowVector is missed in line 508 loadData.
image

@yma11
Copy link
Collaborator

yma11 commented Mar 18, 2024

3_18 rebase has already passed Gluten CI and merged. Let me double check by a local build.

@zhli1142015
Copy link
Author

I thought velox ut is not covered by Gluten CI.

@yma11
Copy link
Collaborator

yma11 commented Mar 18, 2024

I thought velox ut is not covered by Gluten CI.

Yes. We don't enable parquet by default in Velox. I can reproduce it and will do a force update on corresponding branches. Thanks for reporting this!

image

@yma11
Copy link
Collaborator

yma11 commented Mar 18, 2024

Done. Updated 2024_03_18 and update branch.

@zhli1142015
Copy link
Author

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants