【问题标题】:sqlline not showing all columns of a Ignite table on terminalsqlline 未在终端上显示 Ignite 表的所有列
【发布时间】:2020-08-20 14:24:16
【问题描述】:

我在 Ignite 中创建了一个包含 20 多列的表。现在,在 sqlline 上,当查询诸如“select * from table_name”之类的数据时,我只能在 20 列中看到该表的 5 列。有什么办法可以在 sqlline 中做到这一点?

【问题讨论】:

    标签: ignite gridgain sqlline


    【解决方案1】:

    SQL 行不能正常水平显示这么多列,所以可以使用垂直模式:

    !outputformat vertical
    

    【讨论】:

    • 我已经检查了垂直模式,但它没有以正确的表格格式输出。
    【解决方案2】:

    试试下面的 sqlline 命令:

    !set maxWidth 1000
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-07-20
      • 2021-11-15
      • 2021-08-11
      • 2017-08-31
      • 2021-07-06
      • 2020-03-27
      • 1970-01-01
      • 2021-09-18
      相关资源
      最近更新 更多