Skip to content

Commit

Permalink
Missing VARIANT in compiled table definition
Browse files Browse the repository at this point in the history
  • Loading branch information
mbleron committed Jan 10, 2024
1 parent d6fe1ee commit 235f8a8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@

# Change Log

## [5.4.1] - 2024-01-10

### Fixed
* Missing VARIANT case while parsing a compiled table definition

## [5.4] - 2023-09-14

### Added
Expand All @@ -9,8 +14,6 @@
* Error handling for heterogeneous data (issue #45)
* New "VARIANT" object type in SQL projection

###

## [5.3] - 2023-05-23

* Enhancement : Date type detection
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1381,4 +1381,4 @@ FROM Table(

## Copyright and license

Copyright 2016-2023 Marc Bleron. Released under MIT license.
Copyright 2016-2024 Marc Bleron. Released under MIT license.
6 changes: 6 additions & 0 deletions plsql/ExcelTable.pkb
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,12 @@ create or replace package body ExcelTable is
when dbms_types.TYPECODE_CLOB then
col.metadata.csid := DB_CSID;
col.metadata.csfrm := 1;
when dbms_types.TYPECODE_OBJECT then
$IF DBMS_DB_VERSION.VERSION < 19 $THEN
col.metadata.attr_elt_type := anytype.GetPersistent($$PLSQL_UNIT_OWNER,'EXCELVARIANT');
$ELSE
col.metadata.attr_elt_type := GetAnytypeFromPersistent($$PLSQL_UNIT_OWNER,'EXCELVARIANT');
$END
else
null;
end case;
Expand Down

0 comments on commit 235f8a8

Please sign in to comment.