question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Column Type None Error - Field's Not Converting To Dimensions

See original GitHub issue

When running dbt2looker --tag marts on my mart models, I receive dozens of errors around none type conversions.

20:54:28 WARNING Column type None not supported for conversion from snowflake to looker. No dimension will be created.

Here is the example of the schema.yml file.

image

The interesting thing is that it correctly recognizes the doc that corresponds to the model. The explore within the model file is correct and has the correct documentation.

Not sure if I can be of any more help but let me know if there is anything!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:19

github_iconTop GitHub Comments

1reaction
sisu-callumcommented, Apr 18, 2021

Nevermind, I see the comment in the code. With that, I think this is a resolved issue!

TIMESTAMP_TZ not supported (see https://docs.looker.com/reference/field-params/dimension_group)

1reaction
sisu-callumcommented, Apr 18, 2021

That seemed to do the trick! I noticed that TIMESTAMP_TZ seems to be producing an error. This is helpful in pointing out columns that I need to convert to TIMESTAMP_NTZ but figured I’d flag.

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

cant fix Error converting data type varchar to numeric.
Error converting data type varchar to numeric. runs fine for below:: Select *from ABC WHERE Phone ='50012765428'. there are no index, keys, ...
Read more >
pyspark: ValueError: Some of types cannot be determined ...
In order to infer the field type, PySpark looks at the non-none records in each field. If a field only has None records,...
Read more >
Error : Cannot convert value " of type Text to type Integer
Error : Cannot convert value " of type Text to type Integer · Select the column with a left click · In the...
Read more >
Data Types - Tableau Help
Sometimes Tableau incorrectly interprets the data type of a field. For example, Tableau ... Dates and text values are dimensions, and numbers are...
Read more >
Data Studio Tip: Convert Dimensions to Metrics | Mixed Analytics
To address this, open the drop-down menu and select an aggregate function for your number. This aggregate function can be 'None', meaning it ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found