Skip to content

[Bug]: Table output - boolean conversion failure on Oracle database #6646

@dave-csc

Description

@dave-csc

Apache Hop version?

2.17

Java version?

17.0.2

Operating system

Linux

What happened?

When passing boolean fields to a Table output transform that writes to an Oracle database:

  • it seems that Hop 2.17 doesn't handle the conversion correctly: you can get an error from Oracle like ORA-01722: invalid number
  • with Hop 2.16 and below, the conversion is handled: true values are converted to integer 1, false to 0

(Note that Oracle doesn't support boolean columns, so a conversion is needed)

Workaround: use a Select values before Table output to convert the boolean fields into integers (the same conversion done automatically by Hop <2.16 is performed)

Issue Priority

Priority: 2

Issue Component

Component: Transforms

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions