Updated on 2025-06-07 GMT+08:00

U0100072: GaussDB does not support JSON_VALUE

Description

Database Type and Version

  • Source database type and version: Oracle versions supported by UGO
  • Target database type and version: GaussDB versions supported by UGO

Syntax Example

On an Oracle database, JSON_VALUE finds a specified scalar value (such as a string, number, or Boolean value) in JSON documents.

JSON_EXTRACT_PATH_TEXT of GaussDB is similar to JSON_VALUE of Oracle. However, their query paths are different. In the following query scenarios, UGO cannot automatically convert the function, so you need to modify the query path:

  1. A relative path is used.
  2. Wildcards are used, for example, $.a.*.b.
  3. The query result is empty, and an error is returned.

Suggestion

Use JSON_EXTRACT_PATH_TEXT and modify the JSON data query path.