-
I'm looking to validate a csv file whose contents will be inserted to a Oracle table. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hi @ssowj, You can use Table Schema Spec for the task - https://specs.frictionlessdata.io/table-schema/. Can you share a snippet from your csv so we can help with the schema? I think it will need to have some |
Beta Was this translation helpful? Give feedback.
-
Hi @roll Will this suffice? |
Beta Was this translation helpful? Give feedback.
-
assume I can get constraints from the json returned for the ORacle table? Is it possible to build the table schema on the fly for validation or should it be pre defined? |
Beta Was this translation helpful? Give feedback.
-
Sure, you can process the output from Oracle dynamically creating Table Schema it will be something like: fields:
- name: lat
type: number
constraints:
required: true
min: 0
max: 180
... |
Beta Was this translation helpful? Give feedback.
Sure, you can process the output from Oracle dynamically creating Table Schema it will be something like: