-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: does DataProfiler support deeply nested arrays? #1061
Comments
Thanks for your kinds words, @tcCeligo! Thanks for your detailed issue you've raised here -- the use case you have laid out here for more nested data profiling it definitely interesting. Suffice it to say, I don't think there is a super clean way to do this at the moment with the profiler. Is it possible for you to flatten the
to
We are more than open to proposals for new feature and new ideas as well @tcCeligo |
In our use case, we will have 100s of extracts that we will need to process. The requirements of that process will be to normalize the data that comes in through those extracts - which requires I can find and flatten the arrays. In another phase of the processing I will need to take action on the fields and that will vary based on the derived/inferred data types. I can do an initial pass with pyspark to get the information required in order to normalize, and then a second pass over the data with DataProfiler to get the precision on the data type inference ... but who wants to do two passes over data :) |
Yeah, that's totally fair -- I think the short and sweet of it is that current state doesn't support the nested columns. I would try to flatten the dataframe / columns, personally, @tcCeligo. Thanks for reaching out and if you are interested in contributing support for nested columns, we'd be glad to entertain a new feature proposal. Thanks! |
First, let me say "this is an awesome project". It has sooo much of what i'm looking for.
Now, back to the question... is the code capable of drilling down into the structure of arrays? I can get something like this from PySpark's printSchema() command (using a sample schema )
You can see the "f3.address.element.line" and "f3.address.element.value" are defined. In DataProfiler, it does not drill into the address array to define the line and value elements:
Am I missing any property that would allow it to drill further down into arrays like that?
The text was updated successfully, but these errors were encountered: