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.

ValueError: Type <class 'sqlalchemy.sql.sqltypes.REAL'> not currently supported by Spectrify. Open an issue?

See original GitHub issue
  • Spectrify version: latest
  • Python version: 3.6
  • Operating System: Mac OS

Description

Copying a table with real column - actually a float4 column

What I Did

spectrify transform

I think it is related to this piece of code https://github.com/hellonarrativ/spectrify/blob/master/spectrify/utils/schema.py

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
andrewgrosscommented, Aug 14, 2018

I wonder if this is related to Redshift seeing FLOAT as FLOAT8, and everything else seeing FLOAT as FLOAT4, which correlates with REAL.

0reactions
c-nicholscommented, Jan 10, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

Type <class 'sqlalchemy.sql.sqltypes.NUMERIC'> not currently ...
ValueError : Type <class 'sqlalchemy.sql.sqltypes.NUMERIC'> not currently supported by Spectrify. Open an issue?
Read more >
The Type Hierarchy - SQLAlchemy 1.4 Documentation
Database types are represented using Python classes, all of which ultimately extend from the base type class known as TypeEngine .
Read more >
Easy convert betwen SQLAlchemy column types and python ...
For example, if my column type is a VARCHAR of any length, I want to read it as a string. I can read...
Read more >
sqlalchemy.sql.sqltypes - Flask AppBuilder - Read the Docs
If the DBAPI in use does not support Python unicode (which is fewer and fewer these days), SQLAlchemy will encode/decode the value, using...
Read more >
sqlalchemy.sql.sqltypes — python-watcher 1.1.0 documentation
If the DBAPI in use does not support Python unicode (which is fewer and fewer these days), SQLAlchemy will encode/decode the value, using...
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