Add child dataset structure for fields containing child datasets to dfuGetMetadata service

Description

When trying to get the full data structure of a thor file containing child datasets, dfuGetDataColumns and dfuGetFileMetadata both return only the top level of fields. To figure out the child dataset record structure I currently have to parse through the ecl record structure for the file to figure it out. It would be great if dfuGetFileMetadata could return nested field definitions for child datasets.

Conclusion

None

Activity

Show:

Rodrigo Pastrana July 30, 2015 at 1:18 PM

Great work Kevin, I'm eagerly awaiting this change, Thanks.

Kanghua Wang July 30, 2015 at 1:14 PM

In fact, the getChildMeta() will NOT provide accurate information for nested RECORD types. Gavin's suggestion is to get the information from the meta inline. And I tested it and it works. I will implement it soon.

Rodrigo Pastrana July 30, 2015 at 1:05 PM

based on Gavin's comments, getChildMeta() should provide accurate information for nested RECORD types. If it is not, we should create a jira.

Gavin Halliday July 22, 2015 at 10:56 AM

As far as I remember the fields for records are expanded inline. - so they will be all the fields between the beginRecord and the endrecord.

Kanghua Wang July 21, 2015 at 6:43 PM

The getChildMeta() does work for dataset. How about RECORD? I have a file with a field DisplayType = TypeBeginRecord. The IResultSetMetaData returned by getChildMeta() gives ColumnCount=0.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Fix versions

Affects versions

Created July 14, 2015 at 4:15 PM
Updated August 18, 2015 at 9:26 AM
Resolved August 18, 2015 at 9:26 AM