I have a question similar to this but I need reformat my data inside Hadoop or MySQL since rows are more than half a billion. Is there a MySQL code that can create this format?
https://stackoverflow.com/questions/23003508/reshape-table-in-mysql-or-r#=
Thanks,