Skip to content

Add csv interface#4

Merged
Irval1337 merged 5 commits intomainfrom
added-csv-interface
Jan 20, 2026
Merged

Add csv interface#4
Irval1337 merged 5 commits intomainfrom
added-csv-interface

Conversation

@Irval1337
Copy link
Owner

No description provided.

Copy link

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 pull request adds a comprehensive CSV interface for reading and writing columnar data. It removes placeholder "add" functionality and introduces a complete data structure foundation including schemas, fields, columns, and batches with CSV serialization support.

Changes:

  • Implemented CSV parsing with support for quoted fields, custom delimiters, and configurable batch sizes
  • Added core columnar data structures (Schema, Field, Column types, Batch) with nullable support
  • Replaced placeholder "add" functionality with production CSV I/O capabilities

Reviewed changes

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

Show a summary per file
File Description
tests/test_csv.cpp Comprehensive test suite for CSV reading/writing, schema management, and error cases
tests/test_bruh.cpp Removed placeholder test file
tests/CMakeLists.txt Updated to use new CSV tests
src/core/column.cpp Factory function for creating typed columns
src/add.cpp Removed placeholder implementation
include/util/parse.h Generic string parsing utilities for various types
include/util/macro.h Error handling and assertion macros
include/csv/schema_reader.h Schema serialization to/from CSV format
include/csv/csv_row_reader.h Low-level CSV row parsing with quote handling
include/csv/csv_options.h Configuration options for CSV parsing/writing
include/csv/csv_batch_writer.h Batch-oriented CSV writer with automatic quoting
include/csv/csv_batch_reader.h Batch-oriented CSV reader with type conversion
include/csv/csv.h Umbrella header for CSV functionality
include/core/schema.h Schema definition with field lookup
include/core/field.h Field metadata (name, type, nullable)
include/core/datatype.h Data type enumeration and conversion utilities
include/core/columns/string_column.h String column implementation
include/core/columns/numeric_column.h Template for numeric column types
include/core/columns/abstract_column.h Abstract column interface
include/core/column.h Column type aliases and factory
include/core/batch_writer.h Abstract batch writer interface
include/core/batch_reader.h Abstract batch reader interface
include/core/batch.h Batch container for columnar data
include/columnar/add.h Removed placeholder header
benchmarks/bench_csv.cpp Performance benchmarks for CSV operations
benchmarks/bench_bruh.cpp Removed placeholder benchmark
benchmarks/CMakeLists.txt Updated to use CSV benchmarks
apps/converter/main.cpp Temporarily disabled converter functionality
CMakeLists.txt Updated library sources and include path
.gitignore Added .clangd to ignore list

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

Copy link

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 30 out of 33 changed files in this pull request and generated 16 comments.


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

@Irval1337 Irval1337 merged commit 17c79cb into main Jan 20, 2026
3 checks passed
@Irval1337 Irval1337 deleted the added-csv-interface branch January 20, 2026 19:33
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.

1 participant