Skip to content

chore(c/validation): remove quirk for float16 ingestion - #4779

Merged
lidavidm merged 1 commit into
apache:mainfrom
fornwall:ingestion-types
Sep 15, 2026
Merged

lidavidm merged 1 commit into
apache:mainfrom
fornwall:ingestion-types

Conversation

@fornwall

@fornwall fornwall commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Remove the quirk for float16 ingestion - it's better to override the test method and skip it, instead of adding a lot of quirks.

@fornwall
fornwall requested a review from lidavidm as a code owner September 11, 2026 23:28

@lidavidm lidavidm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You should be able to just override the method and skip/no-op the test.

@fornwall

fornwall commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

You should be able to just override the method and skip/no-op the test.

Ah, missed that possibility as the method is non-virtual (but that is no blocker with the registration macro), and saw the existing supports_ingest_float16() quirk.

  • Do you think the existing supports_ingest_float16() should go away for consistency (to avoid giving the impression that it's a good pattern adding more quirks like that)?
  • Or perhaps change it to a supports_ingest(ingest_type), if we want to keep quirks here without introducing too many separate quirk methods?
  • Or is the current status fine and we should just close this (totally fine by me, overriding is acceptable).

@lidavidm

Copy link
Copy Markdown
Member

I saw the existing quirk too and got confused, it seems it slipped in as part of a larger PR (frankly - eventually I think most of these tests can be removed in favor of the actual validation suite, which is better set up for this, and the C++ suite can be used to focus on ABI/FFI compliance)

Remove the quirk for float16 ingestion - it's better to override the
test method and skip it, instead of adding a lot of quirks.

Signed-off-by: Fredrik Fornwall <fredrik@fornwall.net>
@fornwall fornwall changed the title chore(c/validation): add quirk for uint64 ingestion chore(c/validation): remove quirk for float16 ingestion Sep 14, 2026
@fornwall

Copy link
Copy Markdown
Contributor Author

👍 I changed this PR to instead remove the supports_ingest_float16() quirk.

@lidavidm
lidavidm merged commit 32c67b0 into apache:main Sep 15, 2026
94 of 96 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