-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Changes to compile with Clang17 #10363
base: main
Are you sure you want to change the base?
Conversation
@majetideepak FYI |
✅ Deploy Preview for meta-velox canceled.
|
e3908cf
to
6ccb99e
Compare
@@ -4401,13 +4407,18 @@ struct DictColumnWriterTestCase { | |||
context.initBuffer(); | |||
|
|||
// complexVectorType will be nullptr if the vector is not complex. | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove old code.
6ccb99e
to
db3ce35
Compare
Need to work on this a bit more. Some of the deps built don't pick up the change. For example arrow:
I guess the variables do not get inherited into bundled build with their own projects. Probably needs a few more changes. Dependencies (from the setup scripts are also built with gcc). |
db3ce35
to
9c16d37
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we have to support building deps with clang17 as well. |
So recently Centos9 updated their clang from version 17 to 18 and it causes additional build breaks (around arrays that use a variable input size and possibly more). As a result I've installed clang15 (the only other easily available version from the repo) and built with that. Overall improvement of 99 TPCDS queries is about 8% compared to gcc12. Some queries are slightly slower and some are faster. Spread is 0.65 to 3.4 ratio. That is the worst query took almost twice as long (this one is a subsecond query) and best query improved by factor 3ish (19s down to 5.5s) . |
651e30d
to
0d6d025
Compare
0d6d025
to
b30bcf8
Compare
The changes fix: