Skip to content

[Bug]: syntax error for snapshot restore in log #20071

Closed

Description

@YANGGMM

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main, 2.0-dev

Commit ID

newest

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

image

Expected Behavior

No response

Steps to Reproduce

https://grafana.ci.matrixorigin.cn/explore?panes=%7B%223nR%22:%7B%22datasource%22:%22loki%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22expr%22:%22%7Bnamespace%3D%5C%22mo-checkin-regression-20043%5C%22%7D%20%7C%3D%20%60tpch_snapshot%60%22,%22queryType%22:%22range%22,%22datasource%22:%7B%22type%22:%22loki%22,%22uid%22:%22loki%22%7D,%22editorMode%22:%22builder%22%7D%5D,%22range%22:%7B%22from%22:%221731507307821%22,%22to%22:%221731508194507%22%7D%7D%7D&schemaVersion=1&orgId=1

Additional information

No response

Activity

  1. added
    kind/bug
    severity/s0
    on Nov 14, 2024
  2. self-assigned this
    on Nov 14, 2024
  3. added this to the 2.0.1 milestone on Nov 14, 2024
  4. YANGGMM commented on Nov 14, 2024

    @YANGGMM
    ContributorAuthor

    这个是在恢复完成后, 进行快照读结果的检测出现的
    image

  5. YANGGMM commented on Nov 14, 2024

    @YANGGMM
    ContributorAuthor
    select
    s_acctbal,
    s_name,
    n_name,
    p_partkey,
    p_mfgr,
    s_address,
    s_phone,
    s_comment
    from
    part {snapshot = 'tpch_snapshot'},
    supplier {snapshot = 'tpch_snapshot'},
    partsupp {snapshot = 'tpch_snapshot'},
    nation {snapshot = 'tpch_snapshot'},
    region {snapshot = 'tpch_snapshot'}
    where
    p_partkey = ps_partkey
    and s_suppkey = ps_suppkey
    and p_size = 48
    and p_type like '%TIN'
    and s_nationkey = n_nationkey
    and n_regionkey = r_regionkey
    and r_name = 'MIDDLE EAST'
    and ps_supplycost = (
    select
    min(ps_supplycost)
    from
    partsupp {snapshot = 'tpch_snapshot'},
    supplier {snapshot = 'tpch_snapshot'},
    nation {snapshot = 'tpch_snapshot'},
    region {snapshot = 'tpch_snapshot'}
    where
    p_partkey = ps_partkey
    and s_suppkey = ps_suppkey
    and s_nationkey = n_nationkey
    and n_regionkey = r_regionkey
    and r_name = 'MIDDLE EAST'
    )
    order by
    s_acctbal desc,
    n_name,
    s_name,
    p_partkey
    limit 100
    ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugseverity/s0

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions