Skip to content

[Bug]: SHOW SUBSCRIPTIONS; returns error #16613

Closed

Description

@DanielZhangQD

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

1.2-dev

Commit ID

v1.2.0-91b0ae027-2024-06-03

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

  • Create a subscription database from one publication
  • Execute SHOW SUBSCRIPTIONS; and get the following error:
mysql> SHOW SUBSCRIPTIONS;
ERROR 20101 (HY000): internal error: panic interface conversion: interface {} is string, not types.Timestamp:
runtime.panicdottypeE
	/usr/local/go/src/runtime/iface.go:263
github.com/matrixorigin/matrixone/pkg/frontend.convertRowsIntoBatch
	/go/src/github.com/matrixorigin/matrixone/pkg/frontend/util.go:853
github.com/matrixorigin/matrixone/pkg/frontend.trySaveQueryResult
	/go/src/github.com/matrixorigin/matrixone/pkg/frontend/query_result.go:266
github.com/matrixorigin/matrixone/pkg/frontend.doShowSubscriptions
	/go/src/githu

Expected Behavior

SQL succeeds

Steps to Reproduce

See detail in Actual Behavior

Additional information

No response

Activity

  1. added
    kind/bug
    severity/s0
    on Jun 4, 2024
  2. added this to the 1.2.1 milestone on Jun 4, 2024
  3. ck89119 commented on Jun 4, 2024

    @ck89119
    Contributor

    前几天save query result重构导致的,修复中

  4. ck89119 commented on Jun 4, 2024

    @ck89119
    Contributor

    已merge

  5. tianyahui-python commented on Jun 4, 2024

    @tianyahui-python
    Contributor

    需要补充bvt case, 内核默认save_query_result 处于关闭状态, 需要在save_query_result 处于开启状态时,执行show subscription; show subscription all;语句

    test/distributed/cases/save_query_result/save_query_result.sql

  6. aressu1985 commented on Jun 5, 2024

    @aressu1985
    Contributor

    @heni02 贺妮跟踪下case补充的事情

  7. ghost assigned on Jun 5, 2024
  8. Repository owner unassigned on Jun 5, 2024
  9. ck89119 commented on Jun 5, 2024

    @ck89119
    Contributor

    same as #16662,pr ing

  10. assigned and unassigned on Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugphase/testingresolved/v1.2.1severity/s0

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions