Skip to content

[Bug]: unexpected end of JSON input #5886

Closed

Description

@sukki37

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Environment

- Version or commit-id (e.g. v0.1.0 or 8b23a93):7caa8f84a6557cf8f21c7f73386ac5860d7d7652
- Hardware parameters:
- OS type:
- Others:

Actual Behavior

image

Expected Behavior

No response

Steps to Reproduce

./mo-service -launch ./etc/launch-tae-CN-tae-DN/launch.toml
use system;
select * from statement_info limit 10;

Additional information

No response

Activity

  1. added
    kind/bug
    severity/s1
    on Oct 24, 2022
  2. xzxiong commented on Oct 24, 2022

    @xzxiong
    Contributor

    access all EXTERNAL TABLE got ERROR: ERROR 1105 (HY000): unexpected end of JSON input. @jianwan0214

    CREATE EXTERNAL TABLE `metric_test` (
    `metric_name` VARCHAR(128) DEFAULT "unknown" COMMENT 'metric name, like: sql_statement_total, server_connections, process_cpu_percent, sys_memory_used, ...',
    `collecttime` DATETIME NOT NULL COMMENT 'metric data collect time',
    `value` DOUBLE DEFAULT 0.0 COMMENT 'metric value',
    `node` VARCHAR(36) DEFAULT "monolithic" COMMENT 'mo node uuid',
    `role` VARCHAR(32) DEFAULT "monolithic" COMMENT 'mo node role, like: CN, DN, LOG',
    `account` VARCHAR(128) DEFAULT "sys" COMMENT 'account name',
    `type` VARCHAR(32) NOT NULL COMMENT 'sql type, like: insert, select, ...'
    )  infile{"filepath"="etl:metric.csv"} fields terminated by ',' enclosed by '"' lines terminated by '\n'
    
  3. xzxiong commented on Oct 24, 2022

    @xzxiong
    Contributor

    看起来是任务参数初始化的问题?Scope 中的 Instructions 里面的 CreateSql 是空的。
    企业微信截图_a5d2e83b-d54f-4b01-8da2-95083c26de75

  4. goodMan-code commented on Oct 24, 2022

    @goodMan-code
    Contributor

    This problem has not been solved. Please use the tae-cn-tae-dn startup mode to confirm. My code is 3:30 p.m. on October 24

  5. added this to the v0.6.0 milestone on Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugseverity/s1

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions