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

兼容性提升 #238

Merged
merged 17 commits into from
Apr 19, 2024
Merged

兼容性提升 #238

merged 17 commits into from
Apr 19, 2024

Conversation

wy1433
Copy link
Contributor

@wy1433 wy1433 commented Apr 18, 2024

New Features:

  • 兼容性:support datetime(n),支持配置精度,默认0
  • 兼容性:新增函数find_in_set
  • 兼容性:兼容mysql索引语法
  • 兼容性:补齐时间类函数
  • 兼容性:补齐字符类函数
  • 兼容性:兼容mysql建表语法
  • 功能性: 新增FLAGS_max_select_region_count,用于控制手写慢sql抢占线上sql资源
  • 兼容性:支持change column语法
  • 功能性:默认字符集设为utf8
  • 兼容性:alter table时允许添加多列
  • 兼容性:index.short_name展示时保留大小写
  • 兼容性:支持drop index name on table语法

Bug Fixes:

  • SQL: 修复建表语句 commet = '1'出core的bug

Performance Improvements:

  • 调整不同range type的索引选择权重,EQ > IN > RANGE

include/meta_server/table_manager.h Outdated Show resolved Hide resolved
src/common/datetime.cpp Outdated Show resolved Hide resolved
src/expr/internal_functions.cpp Show resolved Hide resolved
src/meta_server/table_manager.cpp Show resolved Hide resolved
src/expr/internal_functions.cpp Show resolved Hide resolved
src/expr/internal_functions.cpp Show resolved Hide resolved
@lgqss lgqss merged commit 6c32c7b into baidu:master Apr 19, 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