Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Incomplete
-
2.4.0
-
None
Description
I am trying to generate external sql tables in DataBricks using Spark sql query. Below is my query. The query reads csv file and creates external table but it carries the newline char while creating the last column. Is there a way to resolve this issue?
%sql
create table if not exists <<My table name>>
using CSV
options ("header"="true", "inferschema"="true","multiLine"="true", "escape"='"')
location <my csv path>