Skip to content

fix: handle extra Hive DESCRIBE columns - #1323

Open
NgoQuocViet2001 wants to merge 1 commit into
dataease:mainfrom
NgoQuocViet2001:fix/hive-describe-extra-columns
Open

fix: handle extra Hive DESCRIBE columns#1323
NgoQuocViet2001 wants to merge 1 commit into
dataease:mainfrom
NgoQuocViet2001:fix/hive-describe-extra-columns

Conversation

@NgoQuocViet2001

Copy link
Copy Markdown

Closes #1210.

ArgoDB's Hive driver appends metadata to DESCRIBE rows. ColumnSchema now keeps the standard name, type, and comment fields while ignoring trailing driver-specific values. A regression test covers the reported arity failure.

Tests:

  • python tests/test_hive_column_schema.py
  • pytest tests/test_hive_column_schema.py tests/test_supplier_config.py tests/test_minimax_integration.py tests/test_cwe89_escape_fix.py -q (54 passed, 3 skipped)
  • ruff check tests/test_hive_column_schema.py

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]Hive DESCRIBE 返回列数与 ColumnSchema 构造函数不匹配

1 participant