Skip to content

xjshi1994/Json2SQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Json2SQL

feature

  • flatten every data in the array or nested array into entries.

Object

  • convert json to mysql script for Data scientist to analyze the json data more easily on database.

sample

  • json :
  • result:

TODO

  • this cannot handle with the null array.

Tips

  • data.log contains manual things to do.
  • schema type which need manual revise.
  • length of data which longer than varchar(1000),needed to be changed to text
  • column name may exceed the legit length of MySQL, so it should be manually decreased.