BigQuery connector unexpected converts String to Number
Hello Community,
I'm using the Google BigQuery Service connector.
I found an unexpected behaviour truncating long numeric strings.
fullVisitorID is a string in BQ schema, even though this arrives in Domo as a string (when using BigQuery schema in the connector settings); there is a weird behaviour where the long numeric string is truncated to number and transformed to exponential form.
For example instead of
10139350147955357369 the string that appears in Domo is 1.0139350147955357E19
Has anyone experienced this?
Thanks for any comments
Comments
-
You may need to reach out to Domo Support to get this investigated
1 -
Hi,
It's a bit hacky but you could try and force Domo to read it as a string.
In the query you can add an arbitrary letter to the string so it is not possible for the value to be interpreted as a numeric value.
For example instead of
SELECT fullVisitorID FROM tablename;
use something like:
SELECT CAST(concat(fullVisitorId,'A') AS STRING) as fullVisitorID from tablename;
then there should be no way Domo can read it as a string and you can preserve all the precision of the value.
hope that helps
1 -
Awesome, thanks for that.
Works like a charm, bit hacky but this will do for the moment.
I've already commented on Ideas Sharing, for having the developers to look into it.
Thanks!
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 58 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive