Hello Team,
I have written Spark SQL Query in data bricks :
DROP TABLE IF EXISTS Salesforce.Location;
CREATE EXTERNAL TABLE Salesforce.Location (
Id STRING,
OwnerId STRING,
IsDeleted bigint,
Name STRING,
CurrencyIsoCode STRING,
CreatedDate bigint,
CreatedById STRING,
LastModifiedDate bigint,
LastModifiedById STRING,
SystemModstamp bigint,
LocationType STRING,
Description STRING,
TimeZone STRING,
ParentLocationId STRING,
IsMobile boolean,
IsInventoryLocation boolean,
VisitorAddressId STRING,
RootLocationId STRING,
LocationLevel bigint,
ExternalReference STRING
)
USING data_source
LOCATION 'abfss://xyz@xyz.dfs.core.windows.net/Bronze/Salesforce/Location'
Hello Team,
But I am getting error as :
Error in SQL statement: ClassNotFoundException:
Failed to find data source: data_source.
Please advise.
There mutliple files are present in the below mentioned path :
https://xyz.blob.core.windows.net/xyz/Bronze/Salesforce/Location
Regards
RK