Problem Note 65914: The error "Driver does not support this optional feature" is generated after you try to insert or append data to a Databricks table
When you use SAS/ACCESS® Interface to JDBC to work with Databricks tables, you might see errors that are similar to the following:
ERROR: Error allocating statement handle: java.sql.SQLFeatureNotSupportedException:
[Simba][JDBC](10220) Driver does not support this optional feature.
ERROR: Prepare error: [Simba][SparkJDBCDriver](500051) ERROR processing query/statement. Error
Code: 0, SQL state: Error running query: org.apache.spark.sql.AnalysisException: Table or
view not found: 'schema'.'table-name'; line 1 pos 14;
SQL statement: SELECT * FROM 'schema'.'table-name'
The errors occur after you try to use the SQL procedure or the APPEND procedure to update an existing Databricks table with code similar to the following:
proc sql;
insert into libref.existing-table select * from SAS-table;
quit ;
proc append base=libref.existing-table data=SAS-table;
run;
PROC APPEND also generates the second error message above when you attempt to create a Databricks table with code similar to this:
proc append base=libref.new-table data=SAS-table;
run;
The only workaround is to drop the table and then re-create it in one step by using either a DATA step or PROC SQL. The following example shows a PROC SQL step that re-creates the table in one step:
proc sql;
create table libref.new-table as select * from SAS-table;
quit;
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to JDBC | Microsoft® Windows® for x64 | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows 8 Enterprise 32-bit | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows 8 Enterprise x64 | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows 8 Pro 32-bit | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows 8 Pro x64 | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows 8.1 Enterprise x64 | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows 8.1 Pro 32-bit | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows 8.1 Pro x64 | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows 10 | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows Server 2012 Datacenter | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows Server 2012 R2 Std | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows Server 2012 Std | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows Server 2016 | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows Server 2019 | 9.4 | | 9.4 TS1M6 | |
Windows 7 Enterprise 32 bit | 9.4 | | 9.4 TS1M6 | |
Windows 7 Enterprise x64 | 9.4 | | 9.4 TS1M6 | |
Windows 7 Home Premium 32 bit | 9.4 | | 9.4 TS1M6 | |
Windows 7 Home Premium x64 | 9.4 | | 9.4 TS1M6 | |
Windows 7 Professional 32 bit | 9.4 | | 9.4 TS1M6 | |
Windows 7 Professional x64 | 9.4 | | 9.4 TS1M6 | |
Windows 7 Ultimate 32 bit | 9.4 | | 9.4 TS1M6 | |
Windows 7 Ultimate x64 | 9.4 | | 9.4 TS1M6 | |
64-bit Enabled AIX | 9.4 | | 9.4 TS1M6 | |
64-bit Enabled Solaris | 9.4 | | 9.4 TS1M6 | |
HP-UX IPF | 9.4 | | 9.4 TS1M6 | |
Linux for x64 | 9.4 | | 9.4 TS1M6 | |
Solaris for x64 | 9.4 | | 9.4 TS1M6 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
You can create create a Databricks table by using the SQL procedure, but you cannot insert data into the table. The APPEND procedure cannot create a new table or append data to an existing table.
Type: | Problem Note |
Priority: | high |
Topic: | Data Management ==> Access Data Management ==> Data Sources ==> External Databases Data Management ==> Data Sources ==> Relational & Object Relational DBMS (Database Management System) SAS Reference ==> Procedures ==> SQL SAS Reference ==> Procedures ==> APPEND Data Management ==> Data Sources
|
Date Modified: | 2020-05-01 13:23:57 |
Date Created: | 2020-05-01 07:43:17 |