file_size_byte comparison #22043
-
I have about 200mb data select sum("$file_size") it gives me 191852695999421 select * from iceberg.logs."test$files" is this two query same? it gives me so different file size make me feek awkward |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
For a file of size S that has N rows, the first query sums N*S and the second sums S. |
Beta Was this translation helpful? Give feedback.
-
@findepi Can I ask you some question new to data engineer world less than one month, still confuse ,,, my stack is trino+iceberg+s3 on k8s I have three questions. First, I add data into existing iceberg table using insert into Second, is it possible to put csv data file into iceberg table. seems like dremio works but not sure in trino Last, in spark there is rewrite_manifests and rewrite_datafiles two another method but in trino you just use optimize |
Beta Was this translation helpful? Give feedback.
For a file of size S that has N rows, the first query sums N*S and the second sums S.