Skip to content

Conversation

arhamchopra
Copy link
Collaborator

@arhamchopra arhamchopra commented Apr 4, 2025

Partially resolves #297

  • Add tests

return None


ArrowHistoricalAdapter = py_pull_adapter_def(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the docstring for this adapter automatically pull the docstring for the adapter impl? We should make sure it has good documentation

Signed-off-by: Arham Chopra <arham.chopra@cubistsystematic.com>
@arhamchopra arhamchopra force-pushed the ac/arrow_adapter branch 3 times, most recently from 5ac31a4 to 7ebce5c Compare April 10, 2025 22:48
…pter

Signed-off-by: Arham Chopra <arham.chopra@cubistsystematic.com>
…rquetReader

Signed-off-by: Arham Chopra <arham.chopra@cubistsystematic.com>
Signed-off-by: Arham Chopra <arham.chopra@cubistsystematic.com>
Signed-off-by: Arham Chopra <arham.chopra@cubistsystematic.com>
…_to_record_batches

Signed-off-by: Arham Chopra <arham.chopra@cubistsystematic.com>
Signed-off-by: Arham Chopra <arham.chopra@cubistsystematic.com>
@arhamchopra arhamchopra reopened this Apr 30, 2025
@@ -192,9 +192,17 @@ void SingleTableParquetReader::setColumnAdaptersFromCurrentTable()
columnAdapter = createColumnAdapter( *this, *field, getCurFileOrTableName(), &getStructColumnMeta() );
auto &fieldInfo = fieldsInfo[ index ];

for( std::size_t i = 0; i < fieldInfo.m_width; ++i )
if( isArrowIPC() )
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is way to check if we are using the InMemoryTableParquetReader

@timkpaine timkpaine added the type: feature Issues and PRs related to new features label May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature Issues and PRs related to new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proposed ArrowRecordBatchAdapter to replace ParquetReader with read_from_memory_tables=True
3 participants