Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

功能完善 #237

Merged
merged 20 commits into from
Apr 17, 2024
Merged

功能完善 #237

merged 20 commits into from
Apr 17, 2024

Conversation

wy1433
Copy link
Contributor

@wy1433 wy1433 commented Apr 16, 2024

New Features:

  • 兼容性:新增SQL show tables, show columns
  • 兼容性:set sql_mode="compatible"开启兼容模式,show create table会去掉特殊语法,完全兼容mysql
  • 兼容性:show tables命令information_schema库转小写
  • 功能性:slow query log 新增 sign, server_addr and conn_id字段
  • 功能性:当meta复制组更新时,store自动更新meta list,用于集群迁移时,可避免store重启
  • 功能性:delete/update语句支持 OrderBy和Limit 用法

Bug Fixes:

  • SQL:show full columns与输出MySQL保持一致
  • binlog: 更新checkpoint的bug
  • sort_limit_by_range bug
  • cstore + ttl表,update字段默认值时不生效的bug
  • show命令result包返回失败会卡主状态机的bug
  • 内存安全:exec node delete after parent clear children
  • enable profilers
  • string type return field length 255
  • not in (null)

Performance Improvements:

  • db侧新增FLAGS_sql_exec_timeout,控制db请求store最大用时

proto/meta.interface.proto Outdated Show resolved Hide resolved
src/protocol/network_server.cpp Show resolved Hide resolved
src/exec/fetcher_store.cpp Outdated Show resolved Hide resolved
src/exec/fetcher_store.cpp Outdated Show resolved Hide resolved
src/exec/packet_node.cpp Show resolved Hide resolved
src/exec/filter_node.cpp Show resolved Hide resolved
src/physical_plan/separate.cpp Outdated Show resolved Hide resolved
@lgqss lgqss merged commit 6d563e5 into baidu:master Apr 17, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants