nikunjbhartia commented on issue #77: URL: https://github.com/apache/datasketches-bigquery/issues/77#issuecomment-2427134335
yes, you are right, when I tried to deploy these functions in another project in which the UDF feature is allowlisted, i get following errors: ```shell ->make test /Library/Developer/CommandLineTools/usr/bin/make -C theta test # Added '-' to continue on error Waiting on bqjob_r371e3eabacf4821f_00000192afd69c09_1 ... (7s) Current status: DONE Error in query string: Error processing job 'bigquerytestdefault:bqjob_r371e3eabacf4821f_00000192afd69c09_1': Query error: Error: sketch type mismatch: expected 3, actual 81 at UDF$2(BYTES, INT64, INT64) line 12, columns 2-3 at [29:1] make[1]: *** [test] Error 1 make: [theta.test] Error 2 (ignored) /Library/Developer/CommandLineTools/usr/bin/make -C tuple test # Added '-' to continue on error Waiting on bqjob_r55b31d226e8a5189_00000192afd6c283_1 ... (5s) Current status: DONE Error in query string: Error processing job 'bigquerytestdefault:bqjob_r55b31d226e8a5189_00000192afd6c283_1': Query error: Error: serial version mismatch: expected 3 or 1, actual 119 at UDF$1(BYTES, INT64, INT64, INT64) line 7, columns 2-3 at [931:1] Waiting on bqjob_r4882d35977166fb1_00000192afd6e370_1 ... (2s) Current status: DONE Error in query string: Error processing job 'bigquerytestdefault:bqjob_r4882d35977166fb1_00000192afd6e370_1': Query error: Error: sketch type mismatch: expected 3, actual 81 at UDF$2(BYTES, INT64, INT64) line 6, columns 2-3 at [23:1] make[1]: *** [test] Error 1 make: [tuple.test] Error 2 (ignored) /Library/Developer/CommandLineTools/usr/bin/make -C cpc test # Added '-' to continue on error Waiting on bqjob_r680f1c32fcbeb6c2_00000192afd6f5f5_1 ... (1s) Current status: DONE Error in query string: Error processing job 'bigquerytestdefault:bqjob_r680f1c32fcbeb6c2_00000192afd6f5f5_1': Query error: Error: Insufficient buffer size detected: bytes available 56, minimum needed 268 at UDF$3(BYTES, BYTES, INT64, INT64) line 8, columns 2-3 at [22:1] make[1]: *** [test] Error 1 make: [cpc.test] Error 2 (ignored) /Library/Developer/CommandLineTools/usr/bin/make -C hll test # Added '-' to continue on error Waiting on bqjob_r7d1ceae551a047eb_00000192afd70678_1 ... (0s) Current status: DONE Error in query string: Error processing job 'bigquerytestdefault:bqjob_r7d1ceae551a047eb_00000192afd70678_1': Query error: Error: Attempt to deserialize unknown object type at UDF$2(BYTES) line 6, columns 2-3 at [21:1] make[1]: *** [test] Error 1 make: [hll.test] Error 2 (ignored) /Library/Developer/CommandLineTools/usr/bin/make -C kll test # Added '-' to continue on error Waiting on bqjob_r2b20176901cb03bc_00000192afd711f6_1 ... (5s) Current status: DONE Error in query string: Error processing job 'bigquerytestdefault:bqjob_r2b20176901cb03bc_00000192afd711f6_1': Query error: ReferenceError: sketch is not defined at 000_nikunj_us.kll_sketch_float_build(FLOAT64, INT64) line 44, columns 27-28 at [31:1] Waiting on bqjob_r743b87592d94f7dc_00000192afd732d4_1 ... (7s) Current status: DONE Error in query string: Error processing job 'bigquerytestdefault:bqjob_r743b87592d94f7dc_00000192afd732d4_1': Query error: Error: Possible corruption: M must be 8: 103 at UDF$1(BYTES) line 12, columns 2-3 at [27:1] make[1]: *** [test] Error 1 make: [kll.test] Error 2 (ignored) /Library/Developer/CommandLineTools/usr/bin/make -C fi test # Added '-' to continue on error Waiting on bqjob_r66677fba22dc05e7_00000192afd75a03_1 ... (0s) Current status: DONE Error in query string: Error processing job 'bigquerytestdefault:bqjob_r66677fba22dc05e7_00000192afd75a03_1': Query error: Error: Possible corruption: preamble longs of an empty sketch must be 1: 66 at UDF$2(BYTES) line 6, columns 2-3 at [20:1] make[1]: *** [test] Error 1 make: [fi.test] Error 2 (ignored) ./tests/run_dataform_tests.sh Compiling... Compiled successfully. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
