feat: dev server and test#1
Open
Shellmia0 wants to merge 8 commits into
Open
Conversation
- Add hive-dialect-test.yml: runs on PR/push to related paths - Tests Hive dialect conversion - Tests SQL rewrite with Hive backend - Tests format dialect - Add hive-integration-test.yml: runs on schedule/manual trigger - Comprehensive unit tests - Optional E2E tests with mock Hive (Arrow Flight SQL + DuckDB) - Generates test summary report Triggered by changes to: - pkg/parser/format/** - pkg/planner/core/** - pkg/parser/ast/**
- Revert engine C++ changes per tyrone-yu: use ARROWSQL kind in config - Fix bob_init.hql copy-paste error (wrong schema for Bob) - Replace manual protobuf parsing with google.protobuf library - Add DuckDB search_path for default schema resolution - Strip party name prefixes (alice./bob.) in SQL preprocessing - Dynamic paths in shell scripts (no more hardcoded /root/autodl-tmp) - Add derby.log to .gitignore
- Hive rejects SQL with trailing semicolons - Strip party/database name prefix for Hive backend queries - Verified: 7/7 tests pass with real HiveServer2
- Dedicated class for MySQL/standard → Hive SQL conversion - IFNULL → COALESCE, NOW() → CURRENT_TIMESTAMP - CAST type mapping: SIGNED/UNSIGNED → BIGINT, VARCHAR/CHAR → STRING - Separate preprocessing logic for DuckDB vs Hive backends - 19/19 unit tests pass, 7/7 integration tests pass with real Hive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: dev server and test