You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@datasketches.apache.org by "anuragk3007 (via GitHub)" <gi...@apache.org> on 2025/05/28 05:07:08 UTC

[I] Make test failing for most of the datasketches [datasketches-bigquery]

anuragk3007 opened a new issue, #155:
URL: https://github.com/apache/datasketches-bigquery/issues/155

   After installing the datasketches in my Bigquery project, I tried running make test but test for most of the datasketch functions are failing. Errors are following
   
   `tuple_sketch_int64_agg_int64_33a14931-4cfb-440c-b905-25516a015343: failed
     Error thrown: TypeError: Cannot convert 9001 to a BigInt.
   tuple_sketch_int64_agg_string_9a1e186f-ce77-469e-a3f9-c5dbe09ccb92: failed
     Error thrown: TypeError: Cannot convert 9001 to a BigInt.
   tuple_sketch_int64_agg_int64_c5b45691-5595-45df-9ce3-869df8afc0d7: failed
     Error thrown: TypeError: Cannot convert 9001 to a BigInt.
   tuple_sketch_int64_agg_union_0aab746d-5ca2-4d20-9e53-f096059cbe5e: failed
     Error thrown: TypeError: Cannot convert 9001 to a BigInt.
   tuple_sketch_int64_agg_string_fada7032-4fa6-4282-a022-6380b6974918: failed
     Error thrown: TypeError: Cannot convert 9001 to a BigInt.
   tuple_sketch_int64_agg_string_d9ea9590-36eb-440a-8920-ebb814aaa50a: failed`
   
   `theta_sketch_agg_union_lgk_seed_fcfa9606-92de-43c0-8e6b-6260f197ca50: failed
     Error thrown: TypeError: Cannot convert 9001 to a BigInt.
   theta_sketch_get_estimate_and_bounds_seed_fe6b8a7e-600f-42fe-b042-51c116ffb286: failed
     Error thrown: TypeError: Cannot convert undefined to a BigInt at UDF$1(BYTES, INT64, INT64) line 3, columns 21-22.`


-- 
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: dev-unsubscribe@datasketches.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For additional commands, e-mail: dev-help@datasketches.apache.org


Re: [I] Make test failing for most of the datasketches [datasketches-bigquery]

Posted by "anuragk3007 (via GitHub)" <gi...@apache.org>.
anuragk3007 closed issue #155: Make test failing for most of the datasketches
URL: https://github.com/apache/datasketches-bigquery/issues/155


-- 
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: dev-unsubscribe@datasketches.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For additional commands, e-mail: dev-help@datasketches.apache.org


Re: [I] Make test failing for most of the datasketches [datasketches-bigquery]

Posted by "will-lauer (via GitHub)" <gi...@apache.org>.
will-lauer commented on issue #155:
URL: https://github.com/apache/datasketches-bigquery/issues/155#issuecomment-2917138815

   Are you using Legacy rather than Google SQL mode? That would account for a different dialect. I'm not sure anyone has tested with Legacy = true.


-- 
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: dev-unsubscribe@datasketches.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For additional commands, e-mail: dev-help@datasketches.apache.org


Re: [I] Make test failing for most of the datasketches [datasketches-bigquery]

Posted by "AlexanderSaydakov (via GitHub)" <gi...@apache.org>.
AlexanderSaydakov commented on issue #155:
URL: https://github.com/apache/datasketches-bigquery/issues/155#issuecomment-2915126385

   We need more information about your environment such as operating system, versions of Emscripten, Python, Google Cloud CLI.


-- 
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: dev-unsubscribe@datasketches.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For additional commands, e-mail: dev-help@datasketches.apache.org


Re: [I] Make test failing for most of the datasketches [datasketches-bigquery]

Posted by "anuragk3007 (via GitHub)" <gi...@apache.org>.
anuragk3007 commented on issue #155:
URL: https://github.com/apache/datasketches-bigquery/issues/155#issuecomment-2918506622

   @will-lauer @AlexanderSaydakov 
   I tried running the query using the install udfs in my project. 
   `SELECT
     datasketches_us_west1.theta_sketch_get_estimate(union_sketch)
   FROM (
     SELECT
       datasketches_us_west1.theta_sketch_agg_union(sketch) AS union_sketch
     FROM
       `avinash_theta_test.tf_audience_native`
     WHERE
       behaviorId IN (31686820,
         31730068));`
   
   I am getting a similar error.
   `TypeError: Cannot convert 9001 to a BigInt`
   
   I have checked the query setting, and I am not using legacy mode. 


-- 
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: dev-unsubscribe@datasketches.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For additional commands, e-mail: dev-help@datasketches.apache.org


Re: [I] Make test failing for most of the datasketches [datasketches-bigquery]

Posted by "AlexanderSaydakov (via GitHub)" <gi...@apache.org>.
AlexanderSaydakov commented on issue #155:
URL: https://github.com/apache/datasketches-bigquery/issues/155#issuecomment-2932771908

   I found that it worked for me when I had Emscripten 4.0.7, but after upgrading to 4.0.9 I see the same errors.
   I am not sure yet how to address this. At least now we know what is going on.


-- 
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: dev-unsubscribe@datasketches.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For additional commands, e-mail: dev-help@datasketches.apache.org


Re: [I] Make test failing for most of the datasketches [datasketches-bigquery]

Posted by "anuragk3007 (via GitHub)" <gi...@apache.org>.
anuragk3007 commented on issue #155:
URL: https://github.com/apache/datasketches-bigquery/issues/155#issuecomment-2915255696

   OS: Debian GNU/Linux 12 (bookworm)
   Emsdk: 4.0.9
   Python: 3.11.2
   GCloud Info:
   Google Cloud SDK 523.0.1
   bq 2.1.17
   bundled-python3-unix 3.12.9
   core 2025.05.22
   gcloud-crc32c 1.0.0
   gsutil 5.34
   


-- 
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: dev-unsubscribe@datasketches.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For additional commands, e-mail: dev-help@datasketches.apache.org


Re: [I] Make test failing for most of the datasketches [datasketches-bigquery]

Posted by "AlexanderSaydakov (via GitHub)" <gi...@apache.org>.
AlexanderSaydakov commented on issue #155:
URL: https://github.com/apache/datasketches-bigquery/issues/155#issuecomment-2917105037

   I have no idea how is this possible. As if you have a different dialect of BigQuery SQL in your project.


-- 
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: dev-unsubscribe@datasketches.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For additional commands, e-mail: dev-help@datasketches.apache.org


Re: [I] Make test failing for most of the datasketches [datasketches-bigquery]

Posted by "anuragk3007 (via GitHub)" <gi...@apache.org>.
anuragk3007 commented on issue #155:
URL: https://github.com/apache/datasketches-bigquery/issues/155#issuecomment-2939270973

   @jmalkin Thanks for the reply.
   @danieldeleo Thanks for resolving the problem.
   
   Now make test is successful and UDFs is also working fine.
   
   Thanks everyone to looking into the issue.


-- 
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: dev-unsubscribe@datasketches.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For additional commands, e-mail: dev-help@datasketches.apache.org


Re: [I] Make test failing for most of the datasketches [datasketches-bigquery]

Posted by "jmalkin (via GitHub)" <gi...@apache.org>.
jmalkin commented on issue #155:
URL: https://github.com/apache/datasketches-bigquery/issues/155#issuecomment-2933009837

   Nothing in the changelog jumps out at me as a reason: https://github.com/emscripten-core/emscripten/blob/main/ChangeLog.md
   
   #156 should address this if building from main (thanks @danieldeleo !)


-- 
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: dev-unsubscribe@datasketches.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For additional commands, e-mail: dev-help@datasketches.apache.org