[
https://issues.apache.org/jira/browse/GRIFFIN-297?focusedWorklogId=345286&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-345286
]
ASF GitHub Bot logged work on GRIFFIN-297:
------------------------------------------
Author: ASF GitHub Bot
Created on: 18/Nov/19 13:35
Start Date: 18/Nov/19 13:35
Worklog Time Spent: 10m
Work Description: chitralverma commented on issue #555: [WIP]
[GRIFFIN-297] Allow support for additional file based data sources
URL: https://github.com/apache/griffin/pull/555#issuecomment-555017468
> > @chitralverma
> > Thanks for contribution.
> > @guoyuepeng @chitralverma
> > The csvReader in spark has changed since 2.4 version, but griffin still
uses version 2.2.1 , I think we need more test cases for achieve compatibility.
> > https://issues.apache.org/jira/browse/SPARK-25669
>
> Let me add more test cases for this
@wankunde I tried recreating the `SPARK-25669` bug with version 2.2.1 used
by griffin but it seems like the issue exists no more. I can see in the jira
that it was fixed in versions 2.3+, but right now its not appearing in version
2.2.1
I've incorporated rest of your review comments. Please review at your
convenience.
Thanks
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 345286)
Time Spent: 3h (was: 2h 50m)
> Allow support for additional file based data sources
> ----------------------------------------------------
>
> Key: GRIFFIN-297
> URL: https://issues.apache.org/jira/browse/GRIFFIN-297
> Project: Griffin
> Issue Type: Improvement
> Reporter: Chitral Verma
> Priority: Major
> Labels: features
> Time Spent: 3h
> Remaining Estimate: 0h
>
> In the current version of Apache griffin (0.5.0), there is very limited
> support for file based data sources as only Avro and Text files are
> supported.
> I propose the feature to allow support for additional file based data sources
> like Parquet, CSV, TSV, ORC etc in batch mode. Since most of the above
> sources already have first class support provided by spark, the
> implementation is straight forward.
> Also, this feature will allow data to be read directly from stand alone files
> as well as directories present in both local and distributed filesystems.
> A sample config would look like,
> {noformat}
> {
> "name": "source",
> "baseline": true,
> "connectors": [
> {
> "type": "file",
> "version": "1.7",
> "config": {
> "format": "parquet",
> "options": {
> "k1": "v1",
> "k2": "v2"
> },
> "paths": [
> "/home/chitral/path/to/source/",
> "/home/chitral/path/to/test.parquet"
> ]
> }
> }
> ]
> }{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)