Skip to content

Conversation

Jasonlmx
Copy link
Contributor

Add support for dropping macros.
Add test: commit, rollback, recovery on drop macro
Fixed:
Issue #5943, dropping macros

@Jasonlmx Jasonlmx requested review from andyfengHKU, acquamarin and ray6080 and removed request for benjaminwinger September 10, 2025 14:55
@Jasonlmx Jasonlmx self-assigned this Sep 10, 2025
Copy link
Contributor

@ray6080 ray6080 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me now. just one minor code style issue. Thanks!

@@ -97,6 +100,34 @@ void Drop::dropTable(const main::ClientContext* context) {
catalog->dropTableEntryAndIndex(transaction, dropInfo.name);
appendMessage(stringFormat("Table {} has been dropped.", dropInfo.name), memoryManager);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a line in between here.

Copy link

Benchmark Result

Master commit hash: 12569744b4958f53c7ce02f31f96afbea8464b0e
Branch commit hash: b66d824d2308c9927cd40ba14962a3e653278eb3

No major diffs!

Other queries
Query Group Query Name Mean Time - Commit (ms)
aggregation q24 713.41
aggregation q28 7734.65
filter q14 61.52
filter q15 64.93
filter q16 285.01
filter q17 388.50
filter q18 1872.34
filter zonemap-node 24.02
filter zonemap-node-lhs-cast 24.18
filter zonemap-node-null 24.00
filter zonemap-rel 5549.70
fixed_size_expr_evaluator q07 632.56
fixed_size_expr_evaluator q08 929.47
fixed_size_expr_evaluator q09 921.66
fixed_size_expr_evaluator q10 194.56
fixed_size_expr_evaluator q11 194.28
fixed_size_expr_evaluator q12 171.96
fixed_size_expr_evaluator q13 1564.69
fixed_size_seq_scan q23 48.60
join q29 831.16
join q30 1853.53
join q31 7.76
join SelectiveTwoHopJoin 46.69
ldbc_snb_ic q35 9.64
ldbc_snb_ic q36 101.53
ldbc_snb_is q32 3.16
ldbc_snb_is q33 12.07
ldbc_snb_is q34 1.19
limit push-down-limit-into-distinct 1957.18
multi-rel multi-rel-large-scan 1448.28
multi-rel multi-rel-lookup 4.59
multi-rel multi-rel-small-scan 177.42
order_by q25 66.13
order_by q26 387.37
order_by q27 1316.22
recursive_join recursive-join-bidirection 337.42
recursive_join recursive-join-dense 7124.63
recursive_join recursive-join-path 23509.12
recursive_join recursive-join-sparse 10.42
recursive_join recursive-join-trail 7073.18
scan_after_filter q01 107.56
scan_after_filter q02 95.19
shortest_path_ldbc100 q37 146.18
shortest_path_ldbc100 q38 336.44
shortest_path_ldbc100 q39 101.98
shortest_path_ldbc100 q40 490.84
var_size_expr_evaluator q03 2113.24
var_size_expr_evaluator q04 2166.33
var_size_expr_evaluator q05 2611.38
var_size_expr_evaluator q06 1276.90
var_size_seq_scan q19 1363.37
var_size_seq_scan q20 2610.58
var_size_seq_scan q21 2174.05
var_size_seq_scan q22 109.36

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.

2 participants