You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/01/08 19:17:45 UTC

[GitHub] [druid] jihoonson opened a new issue #9144: Missing "spec" in the batch ingestion spec created by the web console

jihoonson opened a new issue #9144: Missing "spec" in the batch ingestion spec created by the web console
URL: https://github.com/apache/druid/issues/9144
 
 
   ### Affected Version
   
   0.17.0 branch
   
   ### Description
   
   The below is an ingestion spec created by the web console. `dataSchema`, `ioConfig`, and `tuningConfig` should be in `spec` which is missing. But if you submit this ingestion spec, the `spec` is properly inserted and the task succeeds.
   
   ```json
   {
     "type": "index_parallel",
     "ioConfig": {
       "type": "index_parallel",
       "inputSource": {
         "type": "http",
         "uris": [
           "https://static.imply.io/data/wikipedia.json.gz"
         ]
       },
       "inputFormat": {
         "type": "json"
       }
     },
     "tuningConfig": {
       "type": "index_parallel",
       "partitionsSpec": {
         "type": "dynamic"
       }
     },
     "dataSchema": {
       "dataSource": "wikipedia",
       "granularitySpec": {
         "type": "uniform",
         "segmentGranularity": "DAY",
         "queryGranularity": "HOUR",
         "rollup": true
       },
       "timestampSpec": {
         "column": "timestamp",
         "format": "iso"
       },
       "dimensionsSpec": {
         "dimensions": [
           "channel",
           "cityName",
           "comment",
           "countryIsoCode",
           "countryName",
           "diffUrl",
           "flags",
           "isAnonymous",
           "isMinor",
           "isNew",
           "isRobot",
           "isUnpatrolled",
           "namespace",
           "page",
           "regionIsoCode",
           "regionName",
           "user"
         ]
       },
       "metricsSpec": [
         {
           "name": "count",
           "type": "count"
         },
         {
           "name": "sum_added",
           "type": "longSum",
           "fieldName": "added"
         },
         {
           "name": "sum_commentLength",
           "type": "longSum",
           "fieldName": "commentLength"
         },
         {
           "name": "sum_deleted",
           "type": "longSum",
           "fieldName": "deleted"
         },
         {
           "name": "sum_delta",
           "type": "longSum",
           "fieldName": "delta"
         },
         {
           "name": "sum_deltaBucket",
           "type": "longSum",
           "fieldName": "deltaBucket"
         }
       ]
     }
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] vogievetsky closed issue #9144: Missing "spec" in the batch ingestion spec created by the web console

Posted by GitBox <gi...@apache.org>.
vogievetsky closed issue #9144: Missing "spec" in the batch ingestion spec created by the web console
URL: https://github.com/apache/druid/issues/9144
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] suneet-s commented on issue #9144: Missing "spec" in the batch ingestion spec created by the web console

Posted by GitBox <gi...@apache.org>.
suneet-s commented on issue #9144: Missing "spec" in the batch ingestion spec created by the web console
URL: https://github.com/apache/druid/issues/9144#issuecomment-572218122
 
 
   Interesting... When I used the console, I had no idea that the web console was changing the spec on me. From a UX perspective, I think it would be good that we let the user know what changes are being made and why so that they learn the recommended way or choose to use a legacy way because of a known bug. Should I create a separate issue for that?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org