Skip to content

Conversation

@evindj
Copy link
Contributor

@evindj evindj commented Jan 24, 2026

Summary

This is the first PR aimed a addressing #331
Because doing it in one go will be more error prone and will make review harder, I am splitting the change across several PR.
This first one covers:

  • basic support for only boolean expressions.
  • Operation types translation
  • Unit tests for the case that we was added.

Test

  • Added some unit tests that cover the change and ensured the pass
    Running main() from gmock_main.cc
    Note: Google Test filter = ExpressionJson*
    [==========] Running 2 tests from 1 test suite.
    [----------] Global test environment set-up.
    [----------] 2 tests from ExpressionJsonTest
    [ RUN ] ExpressionJsonTest.CheckBooleanExpression
    [ OK ] ExpressionJsonTest.CheckBooleanExpression (0 ms)
    [ RUN ] ExpressionJsonTest.OperationTypeTests
    [ OK ] ExpressionJsonTest.OperationTypeTests (0 ms)
    [----------] 2 tests from ExpressionJsonTest (0 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test suite ran. (0 ms total)
[ PASSED ] 2 tests.
idjiofack@Innocents-MacBook-Pro-2  ~/Documents/my_iceberg/iceberg-cpp   bool_expressio_serde 

@evindj evindj changed the title [PR 1/X] basic plumbing for serde support for expressions [Serde - PR 1/X] basic plumbing for serde support for expressions Jan 25, 2026
@evindj evindj changed the title [Serde - PR 1/X] basic plumbing for serde support for expressions [Expr Serde] [PR 1/X] basic plumbing for serde support for expressions Jan 25, 2026
Copy link
Member

@wgtmac wgtmac left a comment

Choose a reason for hiding this comment

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

I just finished another round of review. Let me know what you think. Thanks!

BTW, could you please use conventional commit message to be consistent with this project?

@evindj evindj force-pushed the bool_expressio_serde branch 5 times, most recently from 940eace to cfac526 Compare January 29, 2026 05:10
@wgtmac
Copy link
Member

wgtmac commented Jan 29, 2026

Thanks for the update! Let me know when ready to review again.

@evindj evindj changed the title [Expr Serde] [PR 1/X] basic plumbing for serde support for expressions feat: add serde for expressions Jan 30, 2026
@evindj
Copy link
Contributor Author

evindj commented Jan 30, 2026

@wgtmac I think this ok to have another look.

Copy link
Member

@wgtmac wgtmac left a comment

Choose a reason for hiding this comment

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

Overall looks good to me. I left some minor comments. Thanks for consolidating the PR!

@evindj evindj force-pushed the bool_expressio_serde branch 2 times, most recently from 745c0ba to a901428 Compare January 31, 2026 06:48
Copy link
Member

@wgtmac wgtmac left a comment

Choose a reason for hiding this comment

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

Thanks for the quick update. I just found a minor question.

@evindj evindj force-pushed the bool_expressio_serde branch from a901428 to 3101ffc Compare January 31, 2026 07:35
@wgtmac wgtmac changed the title feat: add serde for expressions feat: add json serde for expression operations Jan 31, 2026
@wgtmac wgtmac merged commit 43b83c5 into apache:main Jan 31, 2026
10 checks passed
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