Replies: 3 comments 11 replies
|
Hello does this |
6 replies
|
Ultimately the current answer for this (whilst not perfect) is to subclass the |
4 replies
|
If this still interesting for someone, I solve the problem by using resolvers using kedro v0.19.7. settings.py file: from sqlalchemy.dialects.oracle import FLOAT
from sqlalchemy.types import Float
CONFIG_LOADER_ARGS = {
"base_env": "base",
"default_run_env": "local",
"custom_resolvers": {
"sqlalchemyfloat": lambda: Float(precision=53).with_variant(FLOAT(binary_precision=126), 'oracle')
}And then using in the catalog like this: dtype:
your_float_column: ${sqlalchemyfloat:} |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello! First off - this is the first issue I have yet to be able to find an answer for in the excellent kedro documentation. Kudos for that!
The project that I'm working on is a personal learning project to load world factbook data and make it quantifiable.
I have an issue where I am defining a SqlTableDataSet in my catalog. I want one of the columns to be a postgresql jsonb data type. I have defined the DataCatalog entry as:
In the dataframe, I have tried both a
dictandjson.dumps(dict)representation of the data. However, no matter the type ofethnic_groupsnor the sqlalchemy type that I supply seems to work. The error that I receive is:lib versions:
I would appreciate any help in understanding how to configure dtype in the catalog correctly.
Thanks!
All reactions