Support Questions
Find answers, ask questions, and share your expertise

Generate DDL from JSON in NiFi

Highlighted

Generate DDL from JSON in NiFi

New Contributor

Does anyone have a script (jyson) that they would be willing to share that will generate Hive DDL using attributes from a JSON dataflow file?   I have a JSON dataflow which contains the table name, schema name, and column names, along with the data type, column length, scale, and precision for each column.   How would I turn that into a dataflow file as input to the PutSQL process?   Any code examples would be greatly appreciated!