Skip to content

Add tests for example function Arrow serialization#23

Merged
rustyconover merged 3 commits into
feature/example-arrow-typefrom
test/example-functions-serialization
Jan 6, 2026
Merged

Add tests for example function Arrow serialization#23
rustyconover merged 3 commits into
feature/example-arrow-typefrom
test/example-functions-serialization

Conversation

@rustyconover

Copy link
Copy Markdown
Contributor

Summary

Adds TestExampleFunctionsSerialization class to verify all example functions
can have their argument specs extracted and serialized:

  • test_scalar_functions: DoubleColumn, AddColumns, UpperCase
  • test_table_functions: Sequence, Range, ConstantTable
  • test_table_in_out_functions: Echo, BufferInput, RepeatInputs, SumAllColumns
  • test_range_function_step_uses_int32: Verifies explicit arrow_type
  • test_double_column_uses_explicit_utf8: Verifies explicit arrow_type

Depends on PR #22 (Arg.arrow_type tests).

Test plan

  • All 671 tests pass (5 new tests)
  • Ruff linting passes
  • mypy type checking passes

🤖 Generated with Claude Code

rustyconover and others added 2 commits January 5, 2026 16:02
Add TestExampleFunctionsSerialization class to verify that all example
functions can have their argument specs extracted and serialized:

- test_scalar_functions: DoubleColumn, AddColumns, UpperCase
- test_table_functions: Sequence, Range, ConstantTable
- test_table_in_out_functions: Echo, BufferInput, RepeatInputs, SumAllColumns
- test_range_function_step_uses_int32: Verifies explicit arrow_type
- test_double_column_uses_explicit_utf8: Verifies explicit arrow_type

Each test verifies:
1. Specs are extracted successfully
2. All specs have non-null arrow_type
3. Schema roundtrip works

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Base automatically changed from test/arg-arrow-type to feature/example-arrow-type January 5, 2026 21:14
…ation

Resolve conflict in tests/test_argument_spec.py by keeping both:
- TestExampleFunctionsSerialization (from this branch)
- TestArgumentSpecRepr (from feature/example-arrow-type)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@rustyconover rustyconover merged commit daefdfa into feature/example-arrow-type Jan 6, 2026
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