Closed ducleminh closed 8 years ago
What is the difference between flatten
and flattenArrayColumn
@binhmop @ducleminh ? I guess one for object type and one for array type, right?
If that's the case, can you help put in some tests for flatten
@ducleminh ?
yeah, flattenDDF applies to structtype whereas the other, as the name suggest will flatten array-type column. unit tests for flatten added. @hai-adatao
It's not in the scope of this ticket, but I want to discuss 2 things, and possibly we can create tickets to track it too:
flatten
to core instead of spark?flatten
and flattenArrayTypeColumn
works most of the cases@nhanitvn @Huandao0812
Description and related tickets, documents
Add inplace param to flatten operation, moved flatten (array type) unit tests to DDF core.
Reviewers: @hai-adatao @Huandao0812 @nhanitvn @phvu
Breaking changes & backward compatible issues
Is this PR a breaking change or has backward compatible issue (e.g: changes in API names, interfaces, signature / remove something...)? If yes, please state out what and tag, and if it can possibly affect BA, please tag aht, tuananh, khangpham and baonguyen
How to test
Describe how this PR is tested. In case manual testing is required, describe how to do so.
PR Progress
Make sure all checkboxes below are checked before merged
prefix/description
(see this)