improve tests

This commit is contained in:
chrislu
2025-09-01 18:52:22 -07:00
parent 7d88a81482
commit dfd0897e49
6 changed files with 119 additions and 17 deletions

View File

@@ -132,7 +132,7 @@ func TestSchemaAwareParsing(t *testing.T) {
// TestSchemaAwareParsingIntegration tests the full integration with SQL engine
func TestSchemaAwareParsingIntegration(t *testing.T) {
engine := NewSQLEngine("localhost:8888")
engine := NewTestSQLEngine()
// Test that the enhanced schema-aware parsing doesn't break existing functionality
result, err := engine.ExecuteSQL(context.Background(), "SELECT *, _source FROM user_events LIMIT 2")