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

[Feature] Trino dialect supports insert into syntax #52650

Closed
wants to merge 701 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
701 commits
Select commit Hold shift + click to select a range
fe8df7c
[BugFix] Fix wrong physical partition used in fast schema evolution i…
xiangguangyxg Oct 14, 2024
db19a53
[BugFix]fix npe issue for external table (#51767)
zombee0 Oct 14, 2024
91e91b8
[BugFix] unify the behavior of default AutoCollector (#51723)
murphyatwork Oct 14, 2024
dc97f9e
[Enhancement] Optimize iceberg mor performance of iceberg equality de…
stephen-shelby Oct 14, 2024
2d0ca82
[BugFix] View is not supported by cache select (#51794)
starrocks-xupeng Oct 14, 2024
8613431
[Refactor] refactor PartitionInfo property access (#51855)
kevincai Oct 14, 2024
e1e6abc
[BugFix] fix array_map's error result when inputs are constant (#51833)
silverbullet233 Oct 14, 2024
138313b
[Enhancement] delta lake support incremental scan ranges delivery (#5…
dirtysalt Oct 14, 2024
4be5b31
[BugFix] When the reserved keyword uses backquotes as input, deserial…
zhangheihei Oct 14, 2024
e1d44c8
[BugFix] fix no matching function error in array_contains/array_posit…
silverbullet233 Oct 14, 2024
4fc07d7
[Enhancement] auto change replication_num of system tables (#51799)
murphyatwork Oct 14, 2024
feb4fb1
[BugFix] Fix asan static link issue (#51888)
kevincai Oct 14, 2024
4a18403
[Doc] 3.3.5 Minor Doc Updates (#51819)
EsoragotoSpirit Oct 14, 2024
88d58e0
[BugFix] Fix add sub partition after table dropped (#51896)
meegoo Oct 15, 2024
ebedeb5
[BugFix] fix issue when using placeholder in column position in prepa…
ShaoxunLi Oct 15, 2024
c362467
[BugFix] fix setDouble issue in jdbc with prepare stmt (#51811)
ShaoxunLi Oct 15, 2024
863441a
[Enhancement] memory tracker for statistics (#51838)
murphyatwork Oct 15, 2024
9f90c1b
[BugFix] Upgrade BDBJE to 18.3.20 to fix UnkonwnMasterException (#51832)
gengjun-git Oct 15, 2024
ffcf296
[BugFix] Fix BE crash when schema scan rpc failed (#51889)
stdpain Oct 15, 2024
4e416f5
[BugFix] Fix unknown error when delta lake query's predicate has stru…
Youngwb Oct 15, 2024
c7e4013
[BugFix] fix iceberg scan properties (#51890)
stephen-shelby Oct 15, 2024
544aba6
[BugFix] Add lock to committed_rs_map to prevent concurrency modifica…
sevev Oct 15, 2024
2626429
[BugFix] Fix ld link error in libhdfs (#51913)
stdpain Oct 15, 2024
07990a9
[Enhancement] Add some util in script for TDE debug; Fix memleak in w…
decster Oct 15, 2024
7e206e1
[Doc] Update SHOW PROC on replications (#51696)
EsoragotoSpirit Oct 15, 2024
8fcc389
[Doc] Add a section on StarRocks alert rules and their handling metho…
DanJing-coder Oct 15, 2024
c78f9fd
[Doc] Update Fast Schema Evolution for Shared-data (#51921)
EsoragotoSpirit Oct 15, 2024
994e4dd
[BugFix] Add task's defination into task run status (#51707)
LiShuMing Oct 16, 2024
35cc2b7
[Refactor] Unify the logic of setting StreamLoadInfo from thrift and …
banmoy Oct 16, 2024
38d1aa1
[BugFix] fix .net can not read sr (#51946)
before-Sunrise Oct 16, 2024
ba8b411
[Enhancement] Update default replication transaction timeout from 1 h…
xiangguangyxg Oct 16, 2024
4cae569
[BugFix] Fix Attempt to unlock lock, not locked by current locker in …
LiShuMing Oct 16, 2024
f7bffef
[BugFix] Fix tablet not release if ingestion transaction is abort (#5…
sevev Oct 16, 2024
903925e
[Doc] Update sql_select_limit system variable doc (#50735)
sfwang218 Oct 16, 2024
f0cef58
[BugFix] isLocalBucketShuffleJoin return wrong result (#51954)
satanson Oct 16, 2024
c2c6621
[BugFix] Fix reset ids for restore (#51630)
xiangguangyxg Oct 16, 2024
deffea4
[Enhancement] add catalog properties to control get stats from metada…
Youngwb Oct 16, 2024
e70cc23
[Doc] Fix unit error , line 412 (#51982)
935951258 Oct 16, 2024
a18d5eb
[Doc] Update README.md (#51974)
kateshaowanjou Oct 16, 2024
e27710c
[Doc] Move keywords (#51998)
DanRoscigno Oct 17, 2024
f035104
[Refactor] Remove meta context related code (#51994)
gengjun-git Oct 17, 2024
a22db16
[Enhancement] Read pos-delete file using datacache (#51867)
stephen-shelby Oct 17, 2024
28dfdd9
[Enhancement] Support complex data types (eg. Array/Struct/Map) when …
plotor Oct 17, 2024
65bd790
[BugFix] fix asan crash in array_map (#51966)
silverbullet233 Oct 17, 2024
422e0ee
[Feature] Support column mapping for delta lake (#51807)
Youngwb Oct 17, 2024
df7603c
[Enhancement] Loading task should abort transaction if fail because o…
banmoy Oct 17, 2024
f6abdfb
[Doc] Set level 4 heading for Alert (#52005)
EsoragotoSpirit Oct 17, 2024
9a385d4
[Doc] Update Replication configurations (#52009)
EsoragotoSpirit Oct 17, 2024
0d7c334
[BugFix] Fix incorrect materialized view row count (#51944)
kaijianding Oct 17, 2024
65036df
[Enhancement]when hash table has no conflict no need check next (#51943)
zombee0 Oct 17, 2024
ab7ba9b
[BugFix]typo when compile in arm env (#52022)
zombee0 Oct 17, 2024
c1ab030
[Enhancement] Support Async delete files from Recycle Bin (#51972)
srlch Oct 17, 2024
1dadfe6
[BugFix] Fix mv refresh with multi partition columns ref base tables …
LiShuMing Oct 17, 2024
fb8db28
[Enhancement] Add properties excluded_refresh_tables for Materialized…
crossoverJie Oct 17, 2024
1de78cb
[Enhancement] Support list partition for backup restore (#51993)
xiangguangyxg Oct 17, 2024
6fe6454
[BugFix] Fix interface error in arm env (#52049)
zombee0 Oct 17, 2024
e337951
[BugFix] fix counter QuerySumMemoryUsage (#52023)
murphyatwork Oct 17, 2024
e7ec1e0
[BugFix] Prevent crash if type mismatch in BinaryDictPageDecoder (#52…
decster Oct 17, 2024
949c4b6
Update README.md
creatstar Oct 17, 2024
6294e80
[BugFix] Fix thrift not call when retry times = 0 (#52067)
stdpain Oct 18, 2024
5521f44
[Doc] stream load tool readme broken link (#52069)
rohitrs1983 Oct 18, 2024
da03bb6
[Enhancement] clang-19 compatibility (#52058)
murphyatwork Oct 18, 2024
5582ec5
[Enhancement] Skip rebalancing scan ranges for hdfs backend selector …
GavinMar Oct 18, 2024
060311e
[Enhancement] table level stats meta support incremental column stats…
Youngwb Oct 18, 2024
2650d07
[Bugfix] Fix incremental scan ranges when scan ranges are bound to pi…
dirtysalt Oct 18, 2024
0638ec3
[Enhancement] reduce the number of fd hold by hash join spilling (#52…
silverbullet233 Oct 18, 2024
37fafe6
[Refactor] Refactor reset ids for restore (#52075)
xiangguangyxg Oct 18, 2024
996331b
[BugFix] Fix running fragment count during exec env exit (#52048)
kevincai Oct 18, 2024
bef22c3
[Feature] (MV For TimeSeries Scene: Part 3) Add AggregateTimeSeriesRu…
LiShuMing Oct 18, 2024
2e9b324
[BugFix] Fix spill cost too much memory when enable group execution (…
stdpain Oct 18, 2024
8c68c4e
[UT] fix flaky test test_mv_swap (#52076)
murphyatwork Oct 18, 2024
ebbb446
[UT] Fix unstable test_mv_refresh_with_event_trigger_and_nested_mvs t…
LiShuMing Oct 18, 2024
ec220ed
[BugFix] Unable to set storage_cooldown_time to maximum when creating…
zhangheihei Oct 18, 2024
0f74cde
[Enhancement] add default hash function and dump query resource usage…
stdpain Oct 18, 2024
64ea05a
[Enhancement] split chunk of HashTable (#51175)
murphyatwork Oct 18, 2024
7c789a3
[Refactor] Refactor Starrocks LOG to reduce the log file size(part1) …
sevev Oct 21, 2024
cb69dd0
[BugFix] Parameter validation for /api/show_meta_info api (#51938)
ikishore Oct 21, 2024
c7e657b
[BugFix]make correct WITH_TENANN scope to avoid compile error (#52130)
zombee0 Oct 21, 2024
f6c1e1c
[Enhancement] Enhance thread pool configs of backup restore (#52111)
xiangguangyxg Oct 21, 2024
b80a35d
[BugFix] Fix dict_mapping expression crash caused by multiple open in…
srlch Oct 21, 2024
b71e76a
[BugFix] Support trigger individual cloud native index compaction (#5…
luohaha Oct 21, 2024
5d0ac94
[Refactor] refactor backend process exit code (#52116)
kevincai Oct 21, 2024
3e53fd0
[BugFix] fix lake compaction threads not exit properly (#52029)
starrocks-xupeng Oct 21, 2024
47c1105
[Enhancement] ConsolidateLikesRule yields non-optimized predicates (#…
satanson Oct 21, 2024
f73c99a
[UT] Optimize MvTimeSeriesRewriteWithOlapTest test time (#52164)
LiShuMing Oct 22, 2024
44864c5
[BugFix] Fix rows and bytes rate statistic in routine load (#52151)
wyb Oct 22, 2024
bc9b9b5
[BugFix] Setting max_compaction_concurrency to -1/0 via dynamic param…
zhangheihei Oct 22, 2024
a6a6d3d
[Enhancement] Fix known XSS vulnerabilities (#52119)
Astralidea Oct 22, 2024
8f40000
[Refactor] Refactor Starrocks LOG to reduce the log file size(part3) …
sevev Oct 22, 2024
3034034
[BugFix] Fix online optimize conflict with expression partition (#52074)
meegoo Oct 22, 2024
70f14fa
[BugFix] Fix physical partition for rebalance (#46402)
meegoo Oct 22, 2024
1a79908
[BugFix] throw std::bad_alloc in allocate (#52157)
murphyatwork Oct 22, 2024
3b87618
[BugFix] fix array_map asan crash (#52176)
silverbullet233 Oct 22, 2024
28dd0dc
[Enhancement][Refactor] optimize array_contains_all/array_contains_se…
silverbullet233 Oct 22, 2024
caea75d
[Doc] Fix EN CREATE INDEX reference (#52085)
EsoragotoSpirit Oct 22, 2024
168d23b
[BugFix] Update flat json dcheck (#52198)
Seaven Oct 22, 2024
49672a4
[UT] Remove unstable drop task test (#52208)
gengjun-git Oct 22, 2024
f47137c
[Doc] Update System_limit.md - remove column name changes mention (#5…
Savvyr Oct 22, 2024
7afae0c
[BugFix] dictionary_get did not support third params for materialized…
rohitrs1983 Oct 23, 2024
0823a44
[Enhancement] Support backup restore for logical view (#52077)
srlch Oct 23, 2024
c7fe078
[BugFix]Avoid printing token in be log (#51728)
xyllq999 Oct 23, 2024
90336a3
[Doc] Optimize Description for array_contains_seq (#52233)
EsoragotoSpirit Oct 23, 2024
9a2c2fa
[Enhancement] use cloud native persistent index by default (#52209)
luohaha Oct 23, 2024
826127c
[Doc] Separate FILES() into loading and unloading (#52202)
EsoragotoSpirit Oct 23, 2024
d0d49e7
[Enhancement] Rebase warehouse management framework (#52178)
HangyuanLiu Oct 23, 2024
9bedef1
[BugFix] fix memory leak of SegmentedColumn (#52232)
murphyatwork Oct 23, 2024
a342b01
[Doc] Update list_partitioning.md (#52078)
yingtingdong Oct 23, 2024
8d3bbea
[Doc] 3.3.5 release notes (#52241)
EsoragotoSpirit Oct 23, 2024
75f5760
[Doc] 3.2.12 release notes (#52240)
EsoragotoSpirit Oct 23, 2024
d02017f
[Enhancement] support insert local exchange in parttern exchange->joi…
stdpain Oct 23, 2024
3f52ff4
[BugFix] Remove query sync mv read lock (#52239)
LiShuMing Oct 23, 2024
f778ff5
[Enhancement] skip trigger analyze when table not update (#52203)
Youngwb Oct 23, 2024
00eaa50
[BugFix] Consider CN number in HashJoinCostModel. (#51992)
Jcnessss Oct 24, 2024
3fbb9f6
[Enhancement] Support insert match column by name (#51181)
wyb Oct 24, 2024
b711c03
[BugFix] informationschema.task_runs timezone fix (#52123)
rohitrs1983 Oct 24, 2024
718866c
[Enhancement] only call getAliveComputeNodes once per OlapScanNode (#…
ctbrennan Oct 24, 2024
6003bd2
[BugFix] fix `insert into select` don't use metadata cache (#51247)
stephen-shelby Oct 24, 2024
1f9a825
[BugFix] Reset replication number for partition info to let the resto…
xiangguangyxg Oct 24, 2024
a410a4d
[BugFix] Fix client couldn't cancel forward query (#52185)
stdpain Oct 24, 2024
97e2542
[BugFix] fix iceberg explain table name (#52025)
stephen-shelby Oct 24, 2024
d755a8b
[Doc] Forbid https in endpoint address (#52279)
EsoragotoSpirit Oct 24, 2024
24e54ec
[BugFix] Always check memory limit during preload segment (#52231)
sevev Oct 24, 2024
d014c67
[BugFix] Fix eliminate join lose predicate (#52273)
Seaven Oct 24, 2024
29185f3
[Refactor] Refactor Starrocks LOG to reduce the log file size(part2) …
sevev Oct 24, 2024
50fdfea
[Refactor] refactor optimizer code (#52278)
Seaven Oct 24, 2024
673adbc
[Doc] Update REFRESH_EXTERNAL_TABLE.md (#52297)
DanRoscigno Oct 24, 2024
fd50f98
[Enhancement] Disable optimize table on auto bucket table (#52120)
meegoo Oct 25, 2024
f419467
[Doc] Forbid https in GCS endpoint (#52285)
EsoragotoSpirit Oct 25, 2024
c0167e0
[BugFix] Fix tablet meta use tabletMeta uses partition_id and physica…
meegoo Oct 25, 2024
36735a3
[Enhancement] optimize SegmentedColumnSelectiveCopy (#52290)
murphyatwork Oct 25, 2024
5f23f65
[Enhancement] support iceberg incremental scan range (#52248)
stephen-shelby Oct 25, 2024
cacb013
[BugFix] Fix cancel optimize table fail (#52301)
meegoo Oct 25, 2024
2042a89
[BugFix] Fix the problem that arrow read parquet file query memory is…
stdpain Oct 25, 2024
a585d9b
[BugFix] Fix materialized columns in files() query plan (#52210)
wyb Oct 25, 2024
c88d61d
[Enhancement] Support push down avg aggregate function in mv rewrite …
LiShuMing Oct 25, 2024
e3dc184
[Refactor] adjuct QueueIcebergRemoteFileSource hasMoreOutput (#52325)
stephen-shelby Oct 25, 2024
f229313
[Doc] Add Flink connector release notes 1.2.10 (#52332)
EsoragotoSpirit Oct 25, 2024
c656bfa
[BugFix] set persistent index type when alter enable persistent index…
luohaha Oct 25, 2024
e1fe799
[Enhancement] Add count_distinct_implementation/enable_count_distinct…
LiShuMing Oct 25, 2024
f13a0fd
[BugFix] Fix ASAN allocator not matched (#52330)
stdpain Oct 25, 2024
0f4eea8
[Doc] Fix typo of resource group (#52329)
ZiheLiu Oct 25, 2024
cb87c20
[Enhancement] Support TCP Keep-Alive on MySQL connections (#52213)
nferrario Oct 25, 2024
b66b48c
[BugFix] fix kudu timestamp data reading issue (#52335)
predator4ann Oct 25, 2024
9cf1b51
[Doc] remove excess links (#52340)
DanRoscigno Oct 25, 2024
ab22ae7
[Doc] remove link (#52343)
DanRoscigno Oct 25, 2024
9f9493f
[Doc] Refine Description for csv.skip_header (#52315)
EsoragotoSpirit Oct 25, 2024
d653900
[Doc] Brokerless doc update (#52346)
DanRoscigno Oct 26, 2024
a1b9ef3
[Doc] Update data_migration_tool.md (#52253)
yingtingdong Oct 26, 2024
98beade
[BugFix] Fix partition column sequence is incorrect when delta lake w…
Youngwb Oct 28, 2024
70f34c6
[Enhancement] Upgrade async-profiler to 3.0 (#52230)
gengjun-git Oct 28, 2024
cdeee24
[BugFix] Fix change shadow partition replication num fail (#52355)
meegoo Oct 28, 2024
77815fc
[BugFix] handle exception during update exec status (#52331)
murphyatwork Oct 28, 2024
490d61d
[Feature] Partial support of TDE in non-cloud-native rowset read/writ…
decster Oct 28, 2024
df8ce0d
[Enhancement] improve shared-data cluster ingest slowdown display & s…
luohaha Oct 28, 2024
904b15f
[BugFix] fix error matched func signature of array_contains_seq (#52359)
silverbullet233 Oct 28, 2024
fd9f9b1
[BugFix] Fix several problem for logical view restore (#52291)
srlch Oct 28, 2024
24ea21a
[BugFix] Column name case insensitive check in files() column materia…
wyb Oct 28, 2024
5d21492
[BugFix] show create table displays Unicode encoding for default valu…
rohitrs1983 Oct 28, 2024
9c9958c
[BugFix] fix profile display_threshold (#52243)
murphyatwork Oct 28, 2024
43db511
[Doc] Add Kafka connector flush policy (#52382)
banmoy Oct 28, 2024
3eaaa3f
[Enhancement] Remove rename for backup to S3 (#52394)
xiangguangyxg Oct 28, 2024
6705ba9
[Refactor] Refactor AggregatedMaterializedViewPushDownRewriter to avo…
LiShuMing Oct 29, 2024
07fba27
[Doc] Add doc for property excluded_refresh_tables (#52192)
crossoverJie Oct 29, 2024
1980f1a
[BugFix] Fix wrong planner when writing into an external partitioned …
mxdzs0612 Oct 29, 2024
4689ada
[Refactor] Update define verbose log level (#52333)
sevev Oct 29, 2024
24de6ce
[BugFix] Fix create materialized view bug referring base table partit…
LiShuMing Oct 29, 2024
7ac7e31
[Enhancement] handle const column in array_length function (#52415)
jiangjiguang Oct 29, 2024
7d0b2c7
[BugFix] Fix insert into blackhole() analyze error (#52422)
Smith-Cruise Oct 29, 2024
59eb936
[Refactor] Refactor MV Rewrite partition prune (#52234)
LiShuMing Oct 29, 2024
7807c18
[Doc] Add Flink connect 1.2.10 doc (#52369)
EsoragotoSpirit Oct 29, 2024
bd13c92
[Doc] Update Migration Tool Preparations (#52370)
EsoragotoSpirit Oct 29, 2024
b3acca1
[Refactor] remove useless function checkCanPrune (#52441)
murphyatwork Oct 29, 2024
9c98c59
[Doc] Translate from Chinese to English (#52259)
DanRoscigno Oct 29, 2024
0e60285
[Feature] Add support for SQLAlchemy 2.0 (#52392)
maver1ck Oct 29, 2024
a97041b
[BugFix] Fix materialized view cannot refresh in different database. …
crossoverJie Oct 30, 2024
7528ccf
[BugFix] Fix Column copy assigment bug with aggStateDesc (#52414)
LiShuMing Oct 30, 2024
a76a4b3
[BugFix] fix handling of const column in array_to_bitmap (#52423)
silverbullet233 Oct 30, 2024
dcefe40
[BugFix] fix missing iceberg mor params in the PruneHDFSScanColumnRul…
stephen-shelby Oct 30, 2024
d29c331
[BugFix] Fix loads syncer wrong replication num property (#52220)
meegoo Oct 30, 2024
a58374b
[Enhancement] Improve command SHOW PROC "/statistics" performance and…
wangshisan Oct 30, 2024
2dc48d5
[Feature] (batch write part1) Implement the basic workflow on FE side…
banmoy Oct 30, 2024
6a10a74
[Enhancement] add passthrough buffer mem tracker (#52404)
stdpain Oct 30, 2024
1788b2f
[Doc] update translation process (#52481)
DanRoscigno Oct 30, 2024
e17e7d3
[UT] Make ReplayFromDumpTest.testGroupByDistinctColumnSkewHint stable…
satanson Oct 31, 2024
fa972de
[Feature] Add support for PRIMARY KEY AND DISTRIBUTED BY in Python dr…
maver1ck Oct 31, 2024
e460ac2
[BugFix] Fix the problem of sending table id under the same iceberg p…
stephen-shelby Oct 31, 2024
d2c9fb1
[Enhancement] Enhance AggregatedTimeSeriesRewriter to support rewrite…
LiShuMing Oct 31, 2024
5e3662e
[Enhancement] Refactor CachingMvPlanContextBuilder to support timeout…
LiShuMing Oct 31, 2024
5463c39
[BugFix] Fix alter table partition (*) set storage_cooldown_ttl error…
meegoo Oct 31, 2024
355f99a
[Refactor] Chop too large hyperscan regex pattern when logging it on …
satanson Oct 31, 2024
c8443da
[Enhancement] Support mysql PluginAuthDataLengthEncoded (#52489)
gengjun-git Oct 31, 2024
2a2e701
[Enhancement] introduce array view column (#52395)
silverbullet233 Oct 31, 2024
29ecd0f
Update README.md
creatstar Oct 31, 2024
f21d589
Update README.md
creatstar Oct 31, 2024
03cf1c6
[Doc] Remove query rewrite limits of External MV (#52464)
EsoragotoSpirit Nov 1, 2024
b8f24bd
[Doc] Clarify Task and TaskRun (#52462)
EsoragotoSpirit Nov 1, 2024
b9de0b2
[Doc] Fix md table format (#52514)
EsoragotoSpirit Nov 1, 2024
b6ded80
[Enhancement] Rebase warehouse proc framework (#52468)
HangyuanLiu Nov 1, 2024
e0a29b0
[Enhancement] Support Query cache in shared_data (#42982)
smartlxh Nov 1, 2024
208ef2c
[Doc] Update iceberg.md (#52509)
DanRoscigno Nov 1, 2024
0a2cc70
[BugFix] Fix NullPointerException in CatalogMgr.java (#52501)
immutablecodes Nov 1, 2024
c842b31
[BugFix] fix error scan operator's column order in the IcebergEqualit…
stephen-shelby Nov 1, 2024
76fe25b
[BugFix] Fix AggStateUnionCombinator's result type with agg state des…
LiShuMing Nov 1, 2024
7eabfc5
[Enhancement] Enhance text base mv rewrite (#52498)
LiShuMing Nov 1, 2024
5211aa7
[Enhancement] Meta scan support count null/special partitions (#52383)
Seaven Nov 1, 2024
647dfa4
[Enhancement] pushdown runtime filter when cbo_agg_push is enabled an…
stephen-shelby Nov 1, 2024
e06322a
[Refactor] Refactor result writer (#52545)
stdpain Nov 1, 2024
f28cfa8
[Doc] Update iceberg_catalog.md (#52548)
DanRoscigno Nov 1, 2024
021da49
[BugFix] Fix local file rename in broker (#52544)
wyb Nov 1, 2024
7379289
[Enhancement] avoid to extract constant expr as common expr in array_…
silverbullet233 Nov 4, 2024
9ee1097
[BugFix] Fix create table use order by case sensitive (#52513)
meegoo Nov 4, 2024
7c75e40
[Enhancement] Disable alter expression partition name (#52557)
meegoo Nov 4, 2024
43f5aac
[BugFix] Cherry pick apache orc bugfix: fix return wrong result if la…
Smith-Cruise Nov 4, 2024
c1908fd
[BugFix] fix list partition multi values' probelm (#51036)
before-Sunrise Nov 4, 2024
7a7edc7
[Enhancement] revert SegmentedChunk for JoinHashTable (#52570)
murphyatwork Nov 4, 2024
1b8a0d1
[UT] Fix unstable test_mv_rewrite_with_time_series_multi_mvs (#52583)
LiShuMing Nov 4, 2024
38c9235
[BugFix] properly handle 100-continue in load action (#52582)
kevincai Nov 4, 2024
e718410
[Refactor] Avoid logging errors too frequently when publish fails (#5…
sevev Nov 4, 2024
865cd62
[BugFix] Fix chunk accumulator miss assign _max_size (#52579)
stdpain Nov 4, 2024
acd1a6f
[Enhancement] adjust async-profile queue strategy (#52236)
murphyatwork Nov 5, 2024
a0a9536
[Enhancement] change mysql_server_version from 5.1.0 to 8.0.33 (#52512)
Astralidea Nov 5, 2024
1c95dc2
[Enhancement] Prune group bys and eliminate aggs by UK and FK (#52201)
ZiheLiu Nov 5, 2024
a7035e4
[Enhancement] Push agg on small broadcast join (#52150)
ZiheLiu Nov 5, 2024
a16787e
[Enhancement] only report BE which is dead or in blacklist (#49957)
before-Sunrise Nov 5, 2024
2f4376e
[Enhancement] add metrics for pk table error state (#52590)
luohaha Nov 5, 2024
79a617a
[BugFix]don't set NETWORK_CONNECTION error when received response fro…
zombee0 Nov 5, 2024
2d56615
[Enhancement] Use more clear type description in ParquetField (#52575)
Smith-Cruise Nov 5, 2024
81e7d1a
[BugFix] Fix pipeline metrics after resource group (#52508)
ZiheLiu Nov 5, 2024
f717b80
[Enhancement] Optimize upload and download for backup restore (#52574)
xiangguangyxg Nov 5, 2024
4cce6da
[Doc] Mark ARM as usable (#52628)
EsoragotoSpirit Nov 5, 2024
1c6e950
[Enhancement] support base manual compaction for cloud table (#52461)
starrocks-xupeng Nov 5, 2024
e970fd5
[BugFix] Fix incorrect execution plan when generated column rewrite i…
srlch Nov 5, 2024
a2b6c81
[Enhancement] enhance sql digest (#52578)
murphyatwork Nov 5, 2024
66d05d0
[Enhancement] push runtime in_filter through agg node (#52625)
stephen-shelby Nov 5, 2024
8418fc2
[Enhancement] Support IS_DISTINCT_FROM in Trino dialect. (#52500)
Jcnessss Nov 6, 2024
69a4e78
[BugFix] The update_config interface still returns success after the …
zhangheihei Nov 6, 2024
4b60673
[BugFix] Avoid token print in FE log. (#52511)
xyllq999 Nov 6, 2024
16d6138
[Enhancement] Set the memory profiling sample interval to 2m bytes in…
gengjun-git Nov 6, 2024
40aec13
[Enhancement] try to prevent create pk table with __op column name by…
luohaha Nov 6, 2024
023a2c9
[Enhancement]patch poco for keep-alive (#52599)
zombee0 Nov 6, 2024
6460a6a
[UT] fix unstable test case for generated column rewrite (#52657)
srlch Nov 6, 2024
69e5a61
[BugFix]fix compiler error when disable avx2 (#52668)
zombee0 Nov 6, 2024
0fed019
[BugFix] remove unnecessary replicate for outer_common_expr (#52649)
silverbullet233 Nov 6, 2024
b8e4db9
[Doc]Add version requirement for kafka connector (#52681)
banmoy Nov 7, 2024
7d15e33
[Refactor] redundant variable definition (#52607)
IHEII Nov 7, 2024
2bfa29f
[Enhancement] Support sampling statistics collection for external tab…
Youngwb Nov 7, 2024
6e1f8dd
[Enhancement] Support merge invalid columns with null in files() (#52…
wyb Nov 7, 2024
5bde6f1
[BugFix] fix concat expr with multiple args nullsFraction (#52683)
stephen-shelby Nov 7, 2024
863fc34
Trino dialect supports insert into syntax
renzhimin7 Nov 7, 2024
ed97f73
Trino dialect supports insert into syntax
renzhimin7 Nov 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
import com.starrocks.sql.ast.CreateTableAsSelectStmt;
import com.starrocks.sql.ast.CreateTableStmt;
import com.starrocks.sql.ast.ExceptRelation;
import com.starrocks.sql.ast.InsertStmt;
import com.starrocks.sql.ast.IntersectRelation;
import com.starrocks.sql.ast.JoinRelation;
import com.starrocks.sql.ast.LambdaArgument;
Expand Down Expand Up @@ -133,6 +134,7 @@
import io.trino.sql.tree.IfExpression;
import io.trino.sql.tree.InListExpression;
import io.trino.sql.tree.InPredicate;
import io.trino.sql.tree.Insert;
import io.trino.sql.tree.Intersect;
import io.trino.sql.tree.IntervalLiteral;
import io.trino.sql.tree.IsNotNullPredicate;
Expand Down Expand Up @@ -193,6 +195,7 @@
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Collectors;

import static com.starrocks.analysis.AnalyticWindow.BoundaryType.CURRENT_ROW;
Expand Down Expand Up @@ -1222,6 +1225,16 @@ protected ParseNode visitCast(Cast node, ParseTreeContext context) {
return new CastExpr(new TypeDef(getType(node.getType())), (Expr) visit(node.getExpression(), context));
}

@Override
protected ParseNode visitInsert(Insert node, ParseTreeContext context) {
List<String> parts = node.getTarget().getParts();
String tableName = parts.get(parts.size() - 1);
return new InsertStmt(qualifiedNameToTableName(convertQualifiedName(node.getTarget())), null,
tableName.concat(UUID.randomUUID().toString()), null,
(QueryStatement) visit(node.getQuery(), context), true);
}


@Override
protected ParseNode visitCreateTableAsSelect(CreateTableAsSelect node, ParseTreeContext context) {
Map<String, String> properties = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
// Copyright 2021-present StarRocks, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package com.starrocks.connector.parser.trino;

import com.starrocks.sql.ast.InsertStmt;
import com.starrocks.sql.ast.QueryStatement;
import com.starrocks.sql.parser.SqlParser;
import org.junit.BeforeClass;
import org.junit.Test;

public class TrinoInsertTest extends TrinoTestBase {
@BeforeClass
public static void beforeClass() throws Exception {
TrinoTestBase.beforeClass();
}

@Test
public void testCtasTrinoDialect() throws Exception {
String insertSql = "insert into t3 select doy(date '2022-03-06')";
try {
connectContext.getSessionVariable().setSqlDialect("trino");
InsertStmt ctasStmt =
(InsertStmt) SqlParser.parse(insertSql, connectContext.getSessionVariable()).get(0);
QueryStatement queryStmt = ctasStmt.getQueryStatement();
assertPlanContains(queryStmt, "dayofyear('2022-03-06 00:00:00')");

connectContext.getSessionVariable().setSqlDialect("starrocks");
analyzeFail(insertSql, "No matching function with signature: doy(date)");
} finally {
connectContext.getSessionVariable().setSqlDialect("trino");
}
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ public static void beforeClass() throws Exception {
"\"in_memory\" = \"false\"\n" +
");");

starRocksAssert.withTable("CREATE TABLE `t3` (\n" +
"`day` int NULL COMMENT \"\") \n" +
"PROPERTIES ('replication_num' = '1')");

starRocksAssert.withTable("CREATE TABLE `tall` (\n" +
" `ta` varchar(20) NULL COMMENT \"\",\n" +
" `tb` smallint(6) NULL COMMENT \"\",\n" +
Expand Down
Loading