Skip to content

Commit

Permalink
fix parquet test
Browse files Browse the repository at this point in the history
  • Loading branch information
flarco committed Jan 13, 2025
1 parent 25c6e43 commit 0535eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/dbio/iop/parquet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ func TestParquetDuckDb(t *testing.T) {
t.Run("Test FormatQuery", func(t *testing.T) {
// Test FormatQuery method
inputSQL := "SELECT * FROM {stream_scanner} WHERE column1 > 10"
expectedSQL := g.F("SELECT * FROM parquet_scan('%s') WHERE column1 > 10", p.URI)
expectedSQL := g.F("SELECT * FROM read_parquet(['%s']) WHERE column1 > 10", p.URI)

formattedSQL := p.MakeQuery(FileStreamConfig{SQL: inputSQL})
assert.Equal(t, expectedSQL, formattedSQL, "Formatted query should match expected query")
Expand Down

0 comments on commit 0535eaf

Please sign in to comment.