You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "smallzhongfeng (via GitHub)" <gi...@apache.org> on 2023/09/21 09:10:23 UTC
[GitHub] [arrow-rs] smallzhongfeng opened a new issue, #4844: parquet `Row` construct recordbatch
smallzhongfeng opened a new issue, #4844:
URL: https://github.com/apache/arrow-rs/issues/4844
**Which part is this question about**
<!--
Is it code base, library api, documentation or some other part?
-->
**Describe your question**
<!--
A clear and concise description of what the question is.
-->
**Additional context**
<!--
Add any other context about the problem here.
-->
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] tustvold commented on issue #4844: parquet `Row` construct `recordbatch`
Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #4844:
URL: https://github.com/apache/arrow-rs/issues/4844#issuecomment-1729200222
I'm not sure I follow what you're requesting, there are native readers for reading parquet files as arrow RecordBatch?
--
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
[GitHub] [arrow-rs] smallzhongfeng commented on issue #4844: parquet `Row` construct `recordbatch`
Posted by "smallzhongfeng (via GitHub)" <gi...@apache.org>.
smallzhongfeng commented on issue #4844:
URL: https://github.com/apache/arrow-rs/issues/4844#issuecomment-1735112878
Add other question:
Could `SerializedFileReader` read hdfs path? Doesn't seem to work. @tustvold
--
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
[GitHub] [arrow-rs] tustvold commented on issue #4844: parquet `Row` construct `recordbatch`
Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #4844:
URL: https://github.com/apache/arrow-rs/issues/4844#issuecomment-1735121231
> Could SerializedFileReader read hdfs path? Doesn't seem to work.
You will likely want to use https://github.com/datafusion-contrib/datafusion-objectstore-hdfs
--
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
[GitHub] [arrow-rs] tustvold commented on issue #4844: parquet `Row` construct `recordbatch`
Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #4844:
URL: https://github.com/apache/arrow-rs/issues/4844#issuecomment-1737039181
I'm going to close this as the question I believe has been answered, feel free to open a new ticket/discussion/get in touch on Discord if you have any further questions
--
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
[GitHub] [arrow-rs] tustvold commented on issue #4844: parquet `Row` construct `recordbatch`
Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #4844:
URL: https://github.com/apache/arrow-rs/issues/4844#issuecomment-1735170134
It won't support anything that isn't a real filesystem path, correct. If you wish to use a networked API such as HDFS you will need to provide an implementation of IO for this, or use one already implemented for you
--
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
[GitHub] [arrow-rs] tustvold commented on issue #4844: parquet `Row` construct `recordbatch`
Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #4844:
URL: https://github.com/apache/arrow-rs/issues/4844#issuecomment-1729675078
> At the same time, we need to maintain order (through a certain field) after merging
This sounds like something [SortPreservingMergeExec](https://docs.rs/datafusion/latest/datafusion/physical_plan/sorts/sort_preserving_merge/struct.SortPreservingMergeExec.html) could handle for you?
--
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
[GitHub] [arrow-rs] smallzhongfeng commented on issue #4844: parquet `Row` construct `recordbatch`
Posted by "smallzhongfeng (via GitHub)" <gi...@apache.org>.
smallzhongfeng commented on issue #4844:
URL: https://github.com/apache/arrow-rs/issues/4844#issuecomment-1729170482
For now, can we let parquet's row generate a reoctdBatch?
--
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
[GitHub] [arrow-rs] smallzhongfeng commented on issue #4844: parquet `Row` construct `recordbatch`
Posted by "smallzhongfeng (via GitHub)" <gi...@apache.org>.
smallzhongfeng commented on issue #4844:
URL: https://github.com/apache/arrow-rs/issues/4844#issuecomment-1735114840
> > At the same time, we need to maintain order (through a certain field) after merging
>
> This sounds like something [SortPreservingMergeExec](https://docs.rs/datafusion/latest/datafusion/physical_plan/sorts/sort_preserving_merge/struct.SortPreservingMergeExec.html) could handle for you?
This really help me. thanks!
--
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
[GitHub] [arrow-rs] smallzhongfeng commented on issue #4844: parquet `Row` construct `recordbatch`
Posted by "smallzhongfeng (via GitHub)" <gi...@apache.org>.
smallzhongfeng commented on issue #4844:
URL: https://github.com/apache/arrow-rs/issues/4844#issuecomment-1729426489
Thanks for you reply ! What I mean is that the data of the parquet file is read out through rowIter, and then after certain processing, it is converted into recordBatch or written into the parquet file. Is this currently allowed? @tustvold
--
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
[GitHub] [arrow-rs] smallzhongfeng commented on issue #4844: parquet `Row` construct `recordbatch`
Posted by "smallzhongfeng (via GitHub)" <gi...@apache.org>.
smallzhongfeng commented on issue #4844:
URL: https://github.com/apache/arrow-rs/issues/4844#issuecomment-1729518438
For our business needs, we have made corresponding changes to datafusion. Now in order to meet some needs, we need to merge multiple parquet files. At the same time, we need to maintain order (through a certain field) after merging, so that order can be achieved. Read to increase data processing speed for our business needs.
--
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
[GitHub] [arrow-rs] tustvold commented on issue #4844: parquet `Row` construct `recordbatch`
Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #4844:
URL: https://github.com/apache/arrow-rs/issues/4844#issuecomment-1729450923
This is not currently supported, and I would be hesitant to add support for this.
What is the motivation for using RowIter and not just doing the processing on arrow data? If you can describe the processing I can suggest how you might achieve this? Keeping the data in a columnar representation will yield orders of magnitude better performance
--
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
[GitHub] [arrow-rs] smallzhongfeng commented on issue #4844: parquet `Row` construct `recordbatch`
Posted by "smallzhongfeng (via GitHub)" <gi...@apache.org>.
smallzhongfeng commented on issue #4844:
URL: https://github.com/apache/arrow-rs/issues/4844#issuecomment-1735140713
I think not, I want to use like this https://docs.rs/parquet/latest/parquet/file/index.html#example-of-reading-an-existing-file, It seems not to support hdfs path, 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
[GitHub] [arrow-rs] tustvold closed issue #4844: parquet `Row` construct `recordbatch`
Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold closed issue #4844: parquet `Row` construct `recordbatch`
URL: https://github.com/apache/arrow-rs/issues/4844
--
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