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 2022/05/16 11:17:03 UTC

[GitHub] [incubator-doris] lide-reed opened a new issue, #9597: [Bug] Some query results from information_schema.columns are incorrect

lide-reed opened a new issue, #9597:
URL: https://github.com/apache/incubator-doris/issues/9597

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   dev 1.0.1
   
   ### What's Wrong?
   
   MySQL [testdb]> show databases;
   +--------------------+
   | Database           |
   +--------------------+
   | abc                |
   | testdb           |
   ...
   
   MySQL [testdb]> select table_schema,table_name from information_schema.columns where table_schema='abc';
   Empty set (0.05 sec)
   
   ### What You Expected?
   
   The result of following query is not empty.
   select table_schema,table_name from information_schema.columns where table_schema='abc'; 
   
   ### How to Reproduce?
   
   Still have not...
   
   ### 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


[GitHub] [incubator-doris] morningman commented on issue #9597: [Bug] Some query results from information_schema.columns are incorrect

Posted by GitBox <gi...@apache.org>.
morningman commented on issue #9597:
URL: https://github.com/apache/incubator-doris/issues/9597#issuecomment-1128324020

   > I have reproduce the problem while `set enable_vectorized_engine=true;`. Thanks~
   > 
   > I will try to fix it. Please assign this issue to me.
   
   done


-- 
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


[GitHub] [incubator-doris] cambyzju commented on issue #9597: [Bug] Some query results from information_schema.columns are incorrect

Posted by GitBox <gi...@apache.org>.
cambyzju commented on issue #9597:
URL: https://github.com/apache/incubator-doris/issues/9597#issuecomment-1127731796

   I have reproduce the problem while `set enable_vectorized_engine=true;`. Thanks~
   
   I will try to fix it. Please assign this issue to me.


-- 
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


[GitHub] [incubator-doris] nextdreamblue commented on issue #9597: [Bug] Some query results from information_schema.columns are incorrect

Posted by GitBox <gi...@apache.org>.
nextdreamblue commented on issue #9597:
URL: https://github.com/apache/incubator-doris/issues/9597#issuecomment-1127684307

   I reproduce this problem like this:
   1. create a database 
   2. create 17 tables like this:
   ```sql
   CREATE TABLE `aaa` (
     `aaa` varchar(170) NOT NULL COMMENT "",
     `bbb` varchar(100) NOT NULL COMMENT "",
     `ccc` varchar(170) NULL COMMENT "",
     `ddd` varchar(120) NULL COMMENT "",
     `eee` varchar(120) NULL COMMENT "",
     `fff` varchar(130) NULL COMMENT "",
     `ggg` varchar(170) NULL COMMENT "",
     `hhh` varchar(170) NULL COMMENT "",
     `jjj` varchar(170) NULL COMMENT "",
     `kkk` varchar(170) NULL COMMENT "",
     `lll` varchar(170) NULL COMMENT "",
     `mmm` varchar(170) NULL COMMENT "",
     `nnn` varchar(70) NULL COMMENT "",
     `ooo` varchar(140) NULL COMMENT "",
     `ppp` varchar(70) NULL COMMENT "",
     `qqq` varchar(130) NULL COMMENT "",
     `rrr` bigint(20) NULL COMMENT "",
     `sss` bigint(20) NULL COMMENT "",
     `ttt` decimal(24, 2) NULL COMMENT "",
     `uuu` decimal(24, 2) NULL COMMENT "",
     `vvv` decimal(24, 2) NULL COMMENT "",
     `www` varchar(50) NULL COMMENT "",
     `xxx` varchar(190) NULL COMMENT "",
     `yyy` varchar(190) NULL COMMENT "",
     `zzz` varchar(100) NULL COMMENT "",
     `aa` bigint(20) NULL COMMENT "",
     `bb` bigint(20) NULL COMMENT "",
     `cc` bigint(20) NULL COMMENT "",
     `dd` varchar(60) NULL COMMENT "",
     `ee` varchar(60) NULL COMMENT "",
     `ff` varchar(60) NULL COMMENT "",
     `gg` varchar(50) NULL COMMENT "",
     `hh` bigint(20) NULL COMMENT "",
     `ii` bigint(20) NULL COMMENT ""
   ) ENGINE=OLAP
   DUPLICATE KEY(`aaa`)
   COMMENT "OLAP"
   DISTRIBUTED BY HASH(`aaa`) BUCKETS 16
   PROPERTIES (
   "replication_allocation" = "tag.location.default: 2",
   "in_memory" = "false",
   "storage_format" = "V2"
   );
   ```
   i create 17 tables by this sql with other name, and get:
   MySQL [aaa]> show tables;
   +---------------+
   | Tables_in_aaa |
   +---------------+
   | ooo           |
   | eee           |
   | jjj           |
   | ggg           |
   | lll           |
   | qqq           |
   | bbb           |
   | ddd           |
   | iii           |
   | nnn           |
   | kkk           |
   | ppp           |
   | aaa           |
   | fff           |
   | ccc           |
   | hhh           |
   | mmm           |
   +---------------+
   17 rows in set (0.00 sec)
   
   3. create 5 database total, and get
   MySQL [aaa]> show databases;
   +--------------------+
   | Database           |
   +--------------------+
   | aaa                |
   | bbb                |
   | ccc                |
   | ddd                |
   | eee                |
   | doris_audit_db__   |
   | information_schema |
   +--------------------+
   7 rows in set (0.00 sec)
   
   4. and select from information_schema.columns where xxx will return empty.
   MySQL [eee]> select * from information_schema.columns where table_schema='aaa';
   Empty set (0.03 sec)
   
   


-- 
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


[GitHub] [incubator-doris] cambyzju commented on issue #9597: [Bug] Some query results from information_schema.columns are incorrect

Posted by GitBox <gi...@apache.org>.
cambyzju commented on issue #9597:
URL: https://github.com/apache/incubator-doris/issues/9597#issuecomment-1128597244

   @lide-reed @nextdreamblue the problem already fixed, please merge the codes and try again.


-- 
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


[GitHub] [incubator-doris] cambyzju commented on issue #9597: [Bug] Some query results from information_schema.columns are incorrect

Posted by GitBox <gi...@apache.org>.
cambyzju commented on issue #9597:
URL: https://github.com/apache/incubator-doris/issues/9597#issuecomment-1127645832

   I can not reproduce the problem. Could you give more info to reproduce the problem?


-- 
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


[GitHub] [incubator-doris] lide-reed commented on issue #9597: [Bug] Some query results from information_schema.columns are incorrect

Posted by GitBox <gi...@apache.org>.
lide-reed commented on issue #9597:
URL: https://github.com/apache/incubator-doris/issues/9597#issuecomment-1127697029

   This is an issue introduced by vectorization,  it just reproduce when  set enable_vectorized_engine=true;


-- 
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


[GitHub] [incubator-doris] yiguolei closed issue #9597: [Bug] Some query results from information_schema.columns are incorrect

Posted by GitBox <gi...@apache.org>.
yiguolei closed issue #9597: [Bug] Some query results from information_schema.columns are incorrect
URL: https://github.com/apache/incubator-doris/issues/9597


-- 
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