You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "OmBiradar (via GitHub)" <gi...@apache.org> on 2026/03/12 09:54:15 UTC
[I] [C++][Parquet] I found formating errors in parquet.thrift [arrow]
OmBiradar opened a new issue, #49501:
URL: https://github.com/apache/arrow/issues/49501
### Describe the enhancement requested
When I was using Zed code editor recently, and it's automatic formatter found some few extra spaces here and there in `cpp/src/parquet/parquet.thrift`. The main thing that bothers me is that these extra spaces are irregular - they don't follow any particular rule, that's why I think these need to be "fixed".
I get that this might be silly, but I am just putting it out there.
Checkout my fork - https://github.com/apache/arrow/compare/main...OmBiradar:arrow:parquet.thrift-formatting-error
### Component(s)
C++
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++][Parquet] I found formating errors in parquet.thrift [arrow]
Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou commented on issue #49501:
URL: https://github.com/apache/arrow/issues/49501#issuecomment-4914228894
Closing as this is not an issue in this repo proper.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++][Parquet] I found formating errors in parquet.thrift [arrow]
Posted by "OmBiradar (via GitHub)" <gi...@apache.org>.
OmBiradar commented on issue #49501:
URL: https://github.com/apache/arrow/issues/49501#issuecomment-4045892374
@alamb just to confirm, you mean a PR to arrow right?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++][Parquet] I found formating errors in parquet.thrift [arrow]
Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou closed issue #49501: [C++][Parquet] I found formating errors in parquet.thrift
URL: https://github.com/apache/arrow/issues/49501
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++][Parquet] I found formating errors in parquet.thrift [arrow]
Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd commented on issue #49501:
URL: https://github.com/apache/arrow/issues/49501#issuecomment-4045699302
I am not a Parquet committer myself but this file should be a copy of the original file from the parquet-format repository:
https://github.com/apache/parquet-format/blob/master/src/main/thrift/parquet.thrift
The original copy also has those extra spaces. Using a formatter to remove extra spaces on the thrift file seems reasonable to me but this should be done in the source file and probably should be enforced through a linter.
@alamb @pitrou thoughts on this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++][Parquet] I found formating errors in parquet.thrift [arrow]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #49501:
URL: https://github.com/apache/arrow/issues/49501#issuecomment-4045903586
> [@alamb](https://github.com/alamb) just to confirm, you mean a PR to arrow right?
Sorry I meant a PR to the parquet-format repo: https://github.com/apache/parquet-format
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++][Parquet] I found formating errors in parquet.thrift [arrow]
Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd commented on issue #49501:
URL: https://github.com/apache/arrow/issues/49501#issuecomment-4046057060
> How are the files synced?
They are usually synced when required, a new feature that requires the updated thrift file is implemented on Parquet C++. We could update it once the new formatting file is merged upstream.
> would adding a linter to check the .thrift file linting be a good idea?
Yes, I think it would be good to have the linter check as part of the PR that you submitted to the parquet-format repo.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++][Parquet] I found formating errors in parquet.thrift [arrow]
Posted by "OmBiradar (via GitHub)" <gi...@apache.org>.
OmBiradar commented on issue #49501:
URL: https://github.com/apache/arrow/issues/49501#issuecomment-4046021213
On another note, would adding a linter to check the .thrift file linting be a good idea?
@alamb
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++][Parquet] I found formating errors in parquet.thrift [arrow]
Posted by "OmBiradar (via GitHub)" <gi...@apache.org>.
OmBiradar commented on issue #49501:
URL: https://github.com/apache/arrow/issues/49501#issuecomment-4045941981
> Sorry I meant a PR to the parquet-format repo: https://github.com/apache/parquet-format
Sure!
One question I had is -
there are quite some differences between the parquet.thrift in the parquet-format repo and the arrow repo, mostly it's just comments and a few lines of code.
How are the files synced?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++][Parquet] I found formating errors in parquet.thrift [arrow]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #49501:
URL: https://github.com/apache/arrow/issues/49501#issuecomment-4045875184
I agree -- cleaning up extra spaces on the parquet.thrift file seems very reasonable and I would be happy to review a PR
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org