[
https://issues.apache.org/jira/browse/BAHIR-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15672012#comment-15672012
]
ASF GitHub Bot commented on BAHIR-75:
-------------------------------------
Github user sourav-mazumder commented on the issue:
https://github.com/apache/bahir/pull/27
Current support for .csv will cover.txt as long as records are separated by
'\n'. The field separator can be configured. By default it is assumed to be
','.
In future support for .json and .xml would be added.
Regards,
Sourav
On Wed, Nov 16, 2016 at 3:07 PM, Christian Kadner <[email protected]>
wrote:
> *@ckadner* commented on this pull request.
> ------------------------------
>
> In datasource-webhdfs/src/main/scala/org/apache/bahir/datasource/webhdfs/
> DefaultSource.scala <https://github.com/apache/bahir/pull/27>:
>
> > + }
> +
> + /**
> + * Creates a new relation for data store in CSV given parameters.
> + * Parameters have to include 'path' and optionally 'delimiter',
'quote', and 'header'
> + */
> + override def createRelation(
> + sqlContext: SQLContext,
> + parameters: Map[String, String]): BaseRelation = {
> + createRelation(sqlContext, parameters, null)
> + }
> +
> + /**
> + * Creates a new relation for data store in CSV given parameters and
user supported schema.
> + * Parameters have to include 'path' and optionally 'delimiter',
'quote', and 'header'
> + */
>
> yup, coded for *.csv only for now ...
>
> @sourav-mazumder <https://github.com/sourav-mazumder> do you plan on
> adding support for other file formats like *.txt and *.json?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/bahir/pull/27>, or mute the thread
>
<https://github.com/notifications/unsubscribe-auth/AOQyx7ueDjp5725V0Nt0hhkX1z3x-6tUks5q-4ylgaJpZM4KzK9h>
> .
>
> Initial Code Delivery
> ---------------------
>
> Key: BAHIR-75
> URL: https://issues.apache.org/jira/browse/BAHIR-75
> Project: Bahir
> Issue Type: Sub-task
> Components: Spark SQL Data Sources
> Reporter: Sourav Mazumder
> Original Estimate: 504h
> Remaining Estimate: 504h
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)