1
0
mirror of https://github.com/cldellow/sqlite-parquet-vtable.git synced 2025-09-14 22:39:59 +00:00

float support

This commit is contained in:
Colin Dellow
2018-03-03 20:57:09 -05:00
parent 18f07f4c43
commit 67b0d96967
3 changed files with 12 additions and 10 deletions

View File

@@ -178,6 +178,7 @@ static int parquetColumn(
sqlite3_result_int(ctx, rv);
break;
}
case parquet::Type::FLOAT:
case parquet::Type::DOUBLE:
{
double rv = cursor->getDouble(col);
@@ -199,7 +200,6 @@ static int parquetColumn(
sqlite3_result_int64(ctx, rv);
break;
}
case parquet::Type::FLOAT:
case parquet::Type::FIXED_LEN_BYTE_ARRAY:
default:
// Should be impossible to get here as we should have forbidden this at