Skip to content

Fix#5084 Database Lookup return type inference when Type is empty #7574

Merged
hansva merged 1 commit into
apache:mainfrom
leehaut:hotfix/lance-common-101
Jul 20, 2026
Merged

Fix#5084 Database Lookup return type inference when Type is empty #7574
hansva merged 1 commit into
apache:mainfrom
leehaut:hotfix/lance-common-101

Conversation

@leehaut

@leehaut leehaut commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Fix #5084

Summary

  • Database Lookup no longer produces TYPE_NONE for return fields when Type is empty/None. Explicit Type still wins; otherwise the type is inferred from table metadata.
  • Runtime processRow now reuses getTableFields results (dbRowMeta) and passes them into getFields, aligning design-time and runtime behavior.
  • Expands unit test coverage for Database Lookup (cache, DTOs, meta checks, lookup paths)

Signed-off-by: lance <leehaut@gmail.com>
@hansva
hansva merged commit 3e21c0c into apache:main Jul 20, 2026
3 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.

[Bug]: DatabaseLookup datatype inference does no longer work

2 participants