You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "zhbdesign (via GitHub)" <gi...@apache.org> on 2023/11/22 00:43:35 UTC
[I] [Bug] 修改数据类型json问题 [doris]
zhbdesign opened a new issue, #27374:
URL: https://github.com/apache/doris/issues/27374
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
### Version
2.0.3-rc03
### What's Wrong?
CREATE TABLE `jsontest` (
`id` largeint(40) NOT NULL COMMENT 'id',
`remark` json NULL
) ENGINE = OLAP UNIQUE KEY(`id`) COMMENT 'OLAP' DISTRIBUTED BY HASH(`id`) BUCKETS 1 PROPERTIES (
"replication_allocation" = "tag.location.default: 1",
"is_being_synced" = "false",
"storage_format" = "V2",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false"
);
INSERT INTO demo.jsontest VALUES(26, '{"k1":"v1","k2":200}');
INSERT INTO demo.jsontest VALUES(27, '[{"k1":"v41","k2":400},1,"a",3.14]');
INSERT INTO demo.jsontest VALUES(28, '{"k1":"v31","k2":300,"a1":[{"k1":"v41","k2":400},1,"a",3.14]}');
INSERT INTO demo.jsontest VALUES(29, '[null,true,false,100,6.18,"abc"]');
INSERT INTO demo.jsontest VALUES(30, null);
ALTER TABLE demo.jsontest MODIFY COLUMN remark varchar(500) NULL;
ALTER TABLE demo.jsontest MODIFY COLUMN remark json NULL;
SHOW ALTER TABLE COLUMN WHERE TableName = "jsontest" ORDER BY CreateTime DESC LIMIT 1;
出现以下错误,类型修改不成功
errCode = 2, detailMessage = schema change tasks failed on same tablet reach threshold [[ALTER], signature: 113222, backendId: 10005, tablet id: 113222]
### What You Expected?
无错误,类型修改成功
### How to Reproduce?
_No response_
### Anything Else?
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org.apache.org
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
Re: [I] [Bug] 修改数据类型json问题 [doris]
Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman closed issue #27374: [Bug] 修改数据类型json问题
URL: https://github.com/apache/doris/issues/27374
--
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.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
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
Re: [I] [Bug] 修改数据类型json问题 [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #27374:
URL: https://github.com/apache/doris/issues/27374#issuecomment-3287230616
We're closing this issue because it hasn't been updated in a while.
If you'd like to revive this issue, please reopen it and feel free a maintainer to remove the Stale tag!
--
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.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
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
Re: [I] [Bug] 修改数据类型json问题 [doris]
Posted by "MoonBottle (via GitHub)" <gi...@apache.org>.
MoonBottle commented on issue #27374:
URL: https://github.com/apache/doris/issues/27374#issuecomment-2519239142
我也遇到相同的问题了,请问解决了吗
--
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.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
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