[
https://issues.apache.org/jira/browse/KNOX-3495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18132450#comment-18132450
]
ASF subversion and git services commented on KNOX-3495:
-------------------------------------------------------
Commit edb9fdb047271d2df849edae8e9143786c5c4b65 in knox's branch
refs/heads/master from hanicz
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=edb9fdb04 ]
KNOX-3495: Fix Oracle DDL default for deleted column in remote config tables
(#1470)
> DB remote configuration monitor fails on Oracle with ORA-00904 on 21c and 19c
> -----------------------------------------------------------------------------
>
> Key: KNOX-3495
> URL: https://issues.apache.org/jira/browse/KNOX-3495
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 3.0.0
> Reporter: Tamás Hanicz
> Assignee: Tamás Hanicz
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> createKnoxProvidersTableOracle.sql and createKnoxDescriptorsTableOracle.sql
> declare deleted NUMBER(1) DEFAULT false NOT NULL. Oracle has no FALSE SQL
> literal before 23ai, so table creation fails with ORA-00904: "FALSE": invalid
> identifier and the gateway fails to start when the DB-backed remote config
> monitor is enabled.
> The types were ported from the standard scripts (varchar→varchar2, TEXT→CLOB,
> boolean→NUMBER(1)) but the default was not. The later Oracle scripts
> (createKnoxIDFTrustedOidcIssuersTableOracle.sql,
> createKnoxIDFDelegationPolicyTablesOracle.sql) already use DEFAULT 0.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)