Skip to content

Feature/project leaf operator#8

Closed
Rich-T-kid wants to merge 9 commits intomainfrom
feature/Project-Leaf-operator
Closed

Feature/project leaf operator#8
Rich-T-kid wants to merge 9 commits intomainfrom
feature/Project-Leaf-operator

Conversation

@Rich-T-kid
Copy link
Copy Markdown
Owner

Implementing the following leaf node operators

  • CSV
  • In memory
  • parquet
  • s3 reader / download logic

Copilot AI review requested due to automatic review settings November 15, 2025 21:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements leaf node operators for reading data from various sources including CSV files, in-memory data structures, and adds configuration for S3/external data sources. The implementation provides a foundation for data ingestion in the query execution engine.

Key Changes:

  • Implemented CSV reader with type inference and batch processing capabilities
  • Added in-memory data source operator for testing and direct data input
  • Introduced projection schema filtering functionality
  • Extended configuration to support external data source downloads

Reviewed Changes

Copilot reviewed 13 out of 15 changed files in this pull request and generated 20 comments.

Show a summary per file
File Description
src/Backend/opti-sql-go/operators/record.go Added Operator interface defining the Next() method contract
src/Backend/opti-sql-go/operators/project/source/csv.go Implemented CSV reader with automatic type inference and batch reading
src/Backend/opti-sql-go/operators/project/source/csv_test.go Comprehensive test coverage for CSV reader functionality
src/Backend/opti-sql-go/operators/project/source/custom.go In-memory data source implementation with Arrow array conversion
src/Backend/opti-sql-go/operators/project/source/custom_test.go Extensive tests for in-memory data source covering all supported types
src/Backend/opti-sql-go/operators/project/projectExec.go Schema filtering utility for column projection
src/Backend/opti-sql-go/config/config.go Added download configuration for external data sources
src/Backend/test_data/csv/Mental_Health_and_Social_Media_Balance_Dataset.csv Test dataset for CSV operator validation
src/Backend/opti-sql-go/go.mod & go.sum Updated dependencies for Arrow v15 and compression libraries
.gitignore Updated to allow tracking specific test CSV file
CONTRIBUTING.md Added documentation for HTML coverage reports
Makefile Removed trailing blank line

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Backend/opti-sql-go/operators/project/custom_test.go Outdated
Comment thread src/Backend/opti-sql-go/operators/project/csv_test.go Outdated
Comment thread src/Backend/opti-sql-go/operators/project/csv_test.go Outdated
Comment thread src/Backend/opti-sql-go/operators/project/projectExec.go Outdated
Comment thread src/Backend/opti-sql-go/operators/project/csv_test.go Outdated
Comment thread src/Backend/opti-sql-go/operators/project/custom.go Outdated
Comment thread src/Backend/opti-sql-go/config/config.go Outdated
Comment thread src/Backend/opti-sql-go/operators/project/source/custom.go Outdated
Comment thread src/Backend/opti-sql-go/operators/project/custom.go
Comment thread src/Backend/opti-sql-go/operators/project/source/custom.go Outdated
@Rich-T-kid Rich-T-kid force-pushed the feature/Project-Leaf-operator branch from 5e93640 to a9de3db Compare November 16, 2025 06:41
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 29 out of 32 changed files in this pull request and generated 9 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Backend/opti-sql-go/operators/project/parquet_test.go Outdated
Comment thread src/Backend/opti-sql-go/operators/filter/filter.go Outdated
Comment thread src/Backend/opti-sql-go/operators/record.go Outdated
Comment thread src/Backend/opti-sql-go/operators/record.go Outdated
Comment thread src/Backend/opti-sql-go/operators/project/projectExec.go Outdated
Comment thread src/Backend/opti-sql-go/operators/project/projectExec.go Outdated
Comment thread src/Backend/opti-sql-go/operators/project/custom.go Outdated
Comment thread src/Backend/opti-sql-go/config/config.go Outdated
Comment thread src/Backend/opti-sql-go/config/config.go
@Rich-T-kid Rich-T-kid closed this Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants