anilshanbhag / crystal

GPU library for writing SQL queries
MIT License
64 stars 20 forks source link

test/util.py .tbl.p #5

Closed zingdle closed 3 years ago

zingdle commented 4 years ago

https://github.com/anilshanbhag/crystal/blob/f2179e607eb923f2053a706c1e30aa2b6161b9db/test/util.py#L31

Looks like that .tbl.p should be .tbl?

flfantasy commented 3 years ago

I'm afraid not. The difference between .tbl.p and .tbl is .tbl.p files convert the type of some columns in .tbl files from char(n) to integer. These columns appear in the queries and crystal just processes integer type. Please check test/ssb/loader/convert.py for more details.