You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by George Koshy <gk...@gmail.com> on 2015/06/24 02:02:03 UTC

Importing a csv file into zeppelin!

I wanted to import a csv file into zeppelin, i didn't find any proper
method yet!
Thought of using the spark-package http://spark -
packages.org/package/databricks/spark-csv , how can I go about it? Any
other method?

-- 
Sincerely!
George Koshy,
Richardson,
in.linkedin.com/in/gkoshyk/

Re: Importing a csv file into zeppelin!

Posted by Robin Hillyard <ro...@gmail.com>.
Ooh, sorry, I didn’t see your response.

I can just email you the code if you like. You can use it for yourself until I can find a way of contributing it.

	Robin

> On Jun 23, 2015, at 11:18 PM, George Koshy <gk...@gmail.com> wrote:
> 
> Sure Robin, that would be great help! Where can I find the library functions!
> 
> On Tue, Jun 23, 2015 at 8:12 PM, Robin Hillyard <robin.hillyard@gmail.com <ma...@gmail.com>> wrote:
> I have developed some Scala library functions to achieve typical generation of DataFrame objects directly from CSV files. I can contribute this code if you think it would be useful. 
> 
> 	Robin
> 
>> On Jun 23, 2015, at 8:10 PM, moon soo Lee <moon@apache.org <ma...@apache.org>> wrote:
>> 
>> Hi,
>> 
>> You can load spark packages using dependency loader. for example
>> 
>> %dep
>> z.load("com.databricks:spark-csv_2.10:1.0.3")
>> 
>> Please check http://zeppelin.incubator.apache.org/docs/interpreter/spark.html#dependencyloading <http://zeppelin.incubator.apache.org/docs/interpreter/spark.html#dependencyloading>
>> 
>> Thanks,
>> moon
>> 
>> On Tue, Jun 23, 2015 at 5:02 PM George Koshy <gkoshyk@gmail.com <ma...@gmail.com>> wrote:
>> I wanted to import a csv file into zeppelin, i didn't find any proper method yet!
>> Thought of using the spark-package http://spark <http://spark/> -packages.org/package/databricks/spark-csv <http://packages.org/package/databricks/spark-csv> , how can I go about it? Any other method?
>> 
>> -- 
>> Sincerely!
>> George Koshy,
>> Richardson,
>> in.linkedin.com/in/gkoshyk/ <http://in.linkedin.com/in/gkoshyk/>
> 
> 
> 
> -- 
> Sincerely!
> George Koshy,
> Richardson,
> in.linkedin.com/in/gkoshyk/ <http://in.linkedin.com/in/gkoshyk/>

Re: Importing a csv file into zeppelin!

Posted by George Koshy <gk...@gmail.com>.
Sure Robin, that would be great help! Where can I find the library
functions!

On Tue, Jun 23, 2015 at 8:12 PM, Robin Hillyard <ro...@gmail.com>
wrote:

> I have developed some Scala library functions to achieve typical
> generation of DataFrame objects directly from CSV files. I can contribute
> this code if you think it would be useful.
>
> Robin
>
> On Jun 23, 2015, at 8:10 PM, moon soo Lee <mo...@apache.org> wrote:
>
> Hi,
>
> You can load spark packages using dependency loader. for example
>
> %dep
> z.load("com.databricks:spark-csv_2.10:1.0.3")
>
> Please check
> http://zeppelin.incubator.apache.org/docs/interpreter/spark.html#dependencyloading
>
> Thanks,
> moon
>
> On Tue, Jun 23, 2015 at 5:02 PM George Koshy <gk...@gmail.com> wrote:
>
>> I wanted to import a csv file into zeppelin, i didn't find any proper
>> method yet!
>> Thought of using the spark-package http://spark -
>> packages.org/package/databricks/spark-csv , how can I go about it? Any
>> other method?
>>
>> --
>> Sincerely!
>> George Koshy,
>> Richardson,
>> in.linkedin.com/in/gkoshyk/
>>
>
>


-- 
Sincerely!
George Koshy,
Richardson,
in.linkedin.com/in/gkoshyk/

Re: Importing a csv file into zeppelin!

Posted by Robin Hillyard <ro...@gmail.com>.
I have developed some Scala library functions to achieve typical generation of DataFrame objects directly from CSV files. I can contribute this code if you think it would be useful. 

	Robin

> On Jun 23, 2015, at 8:10 PM, moon soo Lee <mo...@apache.org> wrote:
> 
> Hi,
> 
> You can load spark packages using dependency loader. for example
> 
> %dep
> z.load("com.databricks:spark-csv_2.10:1.0.3")
> 
> Please check http://zeppelin.incubator.apache.org/docs/interpreter/spark.html#dependencyloading <http://zeppelin.incubator.apache.org/docs/interpreter/spark.html#dependencyloading>
> 
> Thanks,
> moon
> 
> On Tue, Jun 23, 2015 at 5:02 PM George Koshy <gkoshyk@gmail.com <ma...@gmail.com>> wrote:
> I wanted to import a csv file into zeppelin, i didn't find any proper method yet!
> Thought of using the spark-package http://spark <http://spark/> -packages.org/package/databricks/spark-csv <http://packages.org/package/databricks/spark-csv> , how can I go about it? Any other method?
> 
> -- 
> Sincerely!
> George Koshy,
> Richardson,
> in.linkedin.com/in/gkoshyk/ <http://in.linkedin.com/in/gkoshyk/>

Re: Importing a csv file into zeppelin!

Posted by George Koshy <gk...@gmail.com>.
Thanks Moon!

On Tue, Jun 23, 2015 at 5:10 PM, moon soo Lee <mo...@apache.org> wrote:

> Hi,
>
> You can load spark packages using dependency loader. for example
>
> %dep
> z.load("com.databricks:spark-csv_2.10:1.0.3")
>
> Please check
> http://zeppelin.incubator.apache.org/docs/interpreter/spark.html#dependencyloading
>
> Thanks,
> moon
>
>
> On Tue, Jun 23, 2015 at 5:02 PM George Koshy <gk...@gmail.com> wrote:
>
>> I wanted to import a csv file into zeppelin, i didn't find any proper
>> method yet!
>> Thought of using the spark-package http://spark -
>> packages.org/package/databricks/spark-csv , how can I go about it? Any
>> other method?
>>
>> --
>> Sincerely!
>> George Koshy,
>> Richardson,
>> in.linkedin.com/in/gkoshyk/
>>
>


-- 
Sincerely!
George Koshy,
Richardson,
in.linkedin.com/in/gkoshyk/

Re: Importing a csv file into zeppelin!

Posted by moon soo Lee <mo...@apache.org>.
Hi,

You can load spark packages using dependency loader. for example

%dep
z.load("com.databricks:spark-csv_2.10:1.0.3")

Please check
http://zeppelin.incubator.apache.org/docs/interpreter/spark.html#dependencyloading

Thanks,
moon

On Tue, Jun 23, 2015 at 5:02 PM George Koshy <gk...@gmail.com> wrote:

> I wanted to import a csv file into zeppelin, i didn't find any proper
> method yet!
> Thought of using the spark-package http://spark -
> packages.org/package/databricks/spark-csv , how can I go about it? Any
> other method?
>
> --
> Sincerely!
> George Koshy,
> Richardson,
> in.linkedin.com/in/gkoshyk/
>