Skip to content

fix: Strip trailing space from INT32_LIST type-string key - #6788

Open
nikolauspschuetz wants to merge 1 commit into
feast-dev:masterfrom
nikolauspschuetz:fix/int32-list-type-map-trailing-space
Open

fix: Strip trailing space from INT32_LIST type-string key#6788
nikolauspschuetz wants to merge 1 commit into
feast-dev:masterfrom
nikolauspschuetz:fix/int32-list-type-map-trailing-space

Conversation

@nikolauspschuetz

Copy link
Copy Markdown
Contributor

_convert_value_type_str_to_value_type keys the INT32_LIST entry as "INT32_LIST " (trailing space), so the string "INT32_LIST" never matches and silently falls back to ValueType.STRING. This removes the stray space so it maps to ValueType.INT32_LIST, and adds a regression test (INT64_LIST is the unaffected control).

Developed with AI assistance (Claude Code); I directed the change, reviewed it, and included DCO sign-off.

@codecov-commenter

codecov-commenter commented Aug 26, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 47.08%. Comparing base (1f2584d) to head (061ea54).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #6788   +/-   ##
=======================================
  Coverage   47.08%   47.08%           
=======================================
  Files         419      419           
  Lines       51878    51878           
  Branches     7525     7525           
=======================================
  Hits        24429    24429           
  Misses      25700    25700           
  Partials     1749     1749           
Flag Coverage Δ
go-feature-server 30.58% <ø> (ø)
python-unit 48.39% <ø> (ø)
Files with missing lines Coverage Δ
sdk/python/feast/type_map.py 62.56% <ø> (ø)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1f2584d...061ea54. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

The INT32_LIST entry in the type-string lookup table had a trailing
space in its key ("INT32_LIST "), so _convert_value_type_str_to_value_type
never matched the string "INT32_LIST" and silently fell back to
ValueType.STRING. Remove the stray space so the string maps to
ValueType.INT32_LIST, and add a regression test.

Signed-off-by: Nikolaus Schuetz <nikolauspschuetz@gmail.com>
@nikolauspschuetz
nikolauspschuetz force-pushed the fix/int32-list-type-map-trailing-space branch from 12c5c58 to 061ea54 Compare August 26, 2026 18:07
@nikolauspschuetz nikolauspschuetz changed the title fix: strip trailing space from INT32_LIST type-string key fix: Strip trailing space from INT32_LIST type-string key Aug 26, 2026
@nikolauspschuetz
nikolauspschuetz marked this pull request as ready for review August 26, 2026 19:25
@nikolauspschuetz
nikolauspschuetz requested a review from a team as a code owner August 26, 2026 19:25
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