-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
GH-38053: [C++][Go] Re-generate sources from Schema.fbs #38054
Conversation
|
Unfortunately, a string matching |
Thank you @bkietz. I pushed the fixes now and regenerated the sources again. |
f21f3a9
to
22d521f
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.
All looks good to me from a Go standpoint, i'll wait for someone to approve in addition before merging this
22d521f
to
49b424b
Compare
@@ -59,6 +59,7 @@ struct TensorDimBuilder { | |||
: fbb_(_fbb) { | |||
start_ = fbb_.StartTable(); | |||
} | |||
TensorDimBuilder &operator=(const TensorDimBuilder &); |
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.
These declarations don't seem to cause any problem, but they are weird nevertheless, as the corresponding definitions do not exist. Which version of Flatbuffers did you use?
Using flatc version 23.5.26 (the latest release), I don't get these declarations.
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 used version 1.12.0
which is the version that generates the smallest diff and causes the least trouble.
Regardless of which flatc version is being used, it seems we should perhaps upgrade the vendored flatbuffers headers to the same version. For example, flatc 23.5.26 generates the following version check which seems to imply that the versions should match: // Ensure the included flatbuffers.h is the same version as when this file was
// generated, otherwise it may not be compatible.
static_assert(FLATBUFFERS_VERSION_MAJOR == 23 &&
FLATBUFFERS_VERSION_MINOR == 5 &&
FLATBUFFERS_VERSION_REVISION == 26,
"Non-compatible flatbuffers version included"); |
@github-actions crossbow submit -g nightly-tests |
Revision: 49b424b Submitted crossbow builds: ursacomputing/crossbow @ actions-66dcf81e0b |
That said, as long as CI doesn't complain, we can merge and bump Flatbuffers later. |
The R-related failures seem unrelated. |
Agreed, I think we can merge now. |
After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit d353826. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 11 possible false positives for unstable benchmarks that are known to sometimes produce them. |
…#38054) ### Rationale for this change Re-generate Go and C++ sources from Flatbuffers specs now including string-view and list-view types. ### What changes are included in this PR? Documentation fixes on the .fbs files and the generated C++ and Go source files. ### Are these changes tested? The files should be correct by construction. Existing tests guarantee that no mistake was made in re-generating the files. * Closes: apache#38053 Authored-by: Felipe Oliveira Carvalho <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
…#38054) ### Rationale for this change Re-generate Go and C++ sources from Flatbuffers specs now including string-view and list-view types. ### What changes are included in this PR? Documentation fixes on the .fbs files and the generated C++ and Go source files. ### Are these changes tested? The files should be correct by construction. Existing tests guarantee that no mistake was made in re-generating the files. * Closes: apache#38053 Authored-by: Felipe Oliveira Carvalho <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
…#38054) ### Rationale for this change Re-generate Go and C++ sources from Flatbuffers specs now including string-view and list-view types. ### What changes are included in this PR? Documentation fixes on the .fbs files and the generated C++ and Go source files. ### Are these changes tested? The files should be correct by construction. Existing tests guarantee that no mistake was made in re-generating the files. * Closes: apache#38053 Authored-by: Felipe Oliveira Carvalho <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
Rationale for this change
Re-generate Go and C++ sources from Flatbuffers specs now including string-view and list-view types.
What changes are included in this PR?
Documentation fixes on the .fbs files and the generated C++ and Go source files.
Are these changes tested?
The files should be correct by construction. Existing tests guarantee that no mistake was made in re-generating the files.