arina-ielchiieva commented on a change in pull request #1539: DRILL-6847: Add
Query Metadata to RESTful Interface
URL: https://github.com/apache/drill/pull/1539#discussion_r234994491
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/QueryWrapper.java
##########
@@ -126,14 +128,23 @@ private float getHeapUsage() {
public static class QueryResult {
private final String queryId;
public final Collection<String> columns;
+ public final HashMap<String, ArrayList> metadata;
Review comment:
Use more generic collections: `public final Map<String, List> metadata;`.
Plus List of what type? Maybe `List<String>`?
Please update here and in the code below.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services