You can use backticks to quote the column names.
Cheng
On 6/3/15 2:49 AM, David Mitchell wrote:
I am having the same problem reading JSON. There does not seem to be
a way of selecting a field that has a space, Executor Info from the
Spark logs.
I suggest that we open a JIRA ticket to
Hi,
We are using spark sql (1.3.1) to load data from Microsoft sql server using
jdbc (as described in
https://spark.apache.org/docs/latest/sql-programming-guide.html#jdbc-to-other-databases
).
It is working fine except when there is a space in column names (we can't
modify the schemas to remove
I am having the same problem reading JSON. There does not seem to be a way
of selecting a field that has a space, Executor Info from the Spark logs.
I suggest that we open a JIRA ticket to address this issue.
On Jun 2, 2015 10:08 AM, ayan guha guha.a...@gmail.com wrote:
I would think the
I would think the easiest way would be to create a view in DB with column
names with no space.
In fact, you can pass a sql in place of a real table.
From documentation: The JDBC table that should be read. Note that anything
that is valid in a `FROM` clause of a SQL query can be used. For