You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/08/25 14:15:44 UTC

[GitHub] [incubator-doris] HappenLee opened a new issue #4452: [Bug] core problem when load json data, when the jsonpaths not inappropriate with table column

HappenLee opened a new issue #4452:
URL: https://github.com/apache/incubator-doris/issues/4452


   **Describe the bug**
   There have a tableļ¼š
   ```
   CREATE TABLE `json_table` (
     `k1` tinyint(4) NULL COMMENT "",
     `k2` smallint(6) NULL COMMENT "",
     `k3` int(11) NULL COMMENT "",
     `k4` bigint(20) NULL COMMENT "",
     `k5` datetime NULL COMMENT "",
     `v6` decimal(20, 7) SUM NULL COMMENT ""
   ) ENGINE=OLAP
   AGGREGATE KEY(`k1`, `k2`, `k3`, `k4`, `k5`)
   COMMENT "OLAP"
   DISTRIBUTED BY HASH(`k1`) BUCKETS 15
   PROPERTIES (
   "replication_num" = "1",
   "in_memory" = "false",
   "storage_format" = "V2"
   );
   ```
   
   if we load the data do not include `v6`, will core sometime
   
   ```
   curl --location-trusted -u test:test_passwd -H "format: json" -H "jsonpaths:[\"$.k1\", \"$.k2\", \"$.k3\", \"$.k4\", \"$.k5\"]" -T json_object_basic.json http://localhost:8086/api/test/json_table/_stream_load
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] morningman closed issue #4452: [Bug] core problem when load json data, when the jsonpaths not inappropriate with table column

Posted by GitBox <gi...@apache.org>.
morningman closed issue #4452:
URL: https://github.com/apache/incubator-doris/issues/4452


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org