[ 
https://issues.apache.org/jira/browse/GRIFFIN-323?focusedWorklogId=459845&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-459845
 ]

ASF GitHub Bot logged work on GRIFFIN-323:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/Jul/20 15:04
            Start Date: 16/Jul/20 15:04
    Worklog Time Spent: 10m 
      Work Description: chitralverma commented on pull request #568:
URL: https://github.com/apache/griffin/pull/568#issuecomment-659472645


   Hi Everyone, Please note that these changes are done in the `measure` module 
only. 
   
   To get a more stable release, use the version 0.5.0 available in the maven 
central.
   
   Otherwise, fix PRs for `services` and `ui` module are most welcome.


----------------------------------------------------------------
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:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 459845)
    Time Spent: 1.5h  (was: 1h 20m)

> Refactor configuration for Data Source and Data Source Connector
> ----------------------------------------------------------------
>
>                 Key: GRIFFIN-323
>                 URL: https://issues.apache.org/jira/browse/GRIFFIN-323
>             Project: Griffin
>          Issue Type: Improvement
>            Reporter: Chitral Verma
>            Assignee: Chitral Verma
>            Priority: Major
>             Fix For: 0.6.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Current config structure for Data Source is as follows,
> {noformat}
>  
> "data.sources": [
>     {
>       "name": "src",
>       "connectors": [
>         {
>           "type": "AVRO",
>           "version": "1.7",
>           "config": {
>             "file.path": "<path>/<to>",
>             "file.name": "<source-file>.avro"
>           }
>         }
>       ]
>     },
>     {
>       "name": "tgt",
>       "connectors": [
>         {
>           "type": "AVRO",
>           "version": "1.7",
>           "config": {
>             "file.path": "<path>/<to>",
>             "file.name": "<target-file>.avro"
>           }
>         }
>       ]
>     }
>   ]
> {noformat}
>  
> This ticket proposes the following changes,
>  * remove 'version' from 'DataConnectorParam' as it is not being used 
> anywhere in the codebase.
>  * change 'connectors' from array type to a single JSON object. Since a data 
> source named X may only be of one type (hive, file etc), the connector field 
> should not be an array.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to