the jdbc url is invalid, but strangely it should have thrown ORA- exception
On Mon, Aug 28, 2017 at 4:55 PM, Naga G wrote:
> Not able to find the database name.
> ora is the database in the below url ?
>
> Sent from Naga iPad
>
> > On Aug 28, 2017, at 4:06 AM, Imran Rajjad
Not able to find the database name.
ora is the database in the below url ?
Sent from Naga iPad
> On Aug 28, 2017, at 4:06 AM, Imran Rajjad wrote:
>
> Hello,
>
> I am trying to retrieve an oracle table into Dataset using following code
>
> String url =
Hello,
I am trying to retrieve an oracle table into Dataset using following
code
String url = "jdbc:oracle@localhost:1521:ora";
Dataset jdbcDF = spark.read()
.format("jdbc")
.option("driver", "oracle.jdbc.driver.OracleDriver")
.option("url", url)
.option("dbtable",