Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timestamp fields dont work in mysql "ERROR Invalid ndc types" #22

Open
robthompsonweb opened this issue Nov 12, 2024 · 0 comments
Open

Comments

@robthompsonweb
Copy link

Given a simple MySql table

CREATE TABLE users(idint unsigned NOT NULL AUTO_INCREMENT,created_at timestamp NULL DEFAULT NULL, PRIMARY KEY (id) )

ddn connector introspect app_mysql and then ddn model add app_mysql chronomics_stage2.users

gives the error
NF Using Subgraph config file "app/subgraph.yaml" found in context. LOAD Subgraph at app/subgraph.yaml UPDATE Model Users in app at app/metadata/Users.hml UPDATE ObjectType Users at app/metadata/Users.hml ERROR Invalid ndc types in app_mysql subgraph app

Take out the timestamp field and it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant