File tree 6 files changed +31
-6
lines changed
6 files changed +31
-6
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ on: # yamllint disable-line rule:truthy
5
5
push :
6
6
branches :
7
7
- ' *_cloud'
8
+ workflow_dispatch :
8
9
9
10
jobs :
10
11
cloud_tests :
Original file line number Diff line number Diff line change 29
29
- ' 3.11'
30
30
clickhouse-version :
31
31
- ' 22.8'
32
- - ' 23.2'
33
32
- ' 23.3'
34
- - ' 23.4'
33
+ - ' 23.5'
34
+ - ' 23.6'
35
35
- latest
36
36
37
37
steps :
Original file line number Diff line number Diff line change
1
+ ### Release [ 1.4.4] , 2023-07-19
2
+ #### Bug Fixes
3
+ - Fixed two logging/exception handling issues that would cause exception on startup or when handling some exceptions
4
+ from the ClickHouse server. Partially addresses https://github.com/ClickHouse/dbt-clickhouse/issues/169 .
5
+ - Fixed issue with the ` on_cluster ` macro that would break the exchange tables step of incremental materializations
6
+ with an active cluster. Thanks to [ Andrew Davis] ( https://github.com/Savid ) for the PR. Closes
7
+ https://github.com/ClickHouse/dbt-clickhouse/issues/167
8
+
9
+ ### Release [ 1.4.3] , 2023-06-27
10
+ #### Bug Fix
11
+ - Use correct return value for ` execute ` . This would cause an exception when running hooks. Thanks to
12
+ [ Sergey Reshetnikov] ( https://github.com/PrVrSs ) for the PR. Closed https://github.com/ClickHouse/dbt-clickhouse/issues/161
13
+
14
+ #### Improvement
15
+ - Added macros for creating distributed tables. See the ` distributed_table.sql ` include file. Thanks to
16
+ [ gladkikhtutu] ( https://github.com/gladkikhtutu ) for the contribution.
17
+
18
+ ### Release [ 1.4.2] , 2023-05-14
19
+ #### Bug fixes
20
+ - Create initial dbt database (if not found) on the defined cluster on first run, instead of just the execution node.
21
+ Thanks to [ Jens Hoevenaars] ( https://github.com/codenation-nl ) for the PR
22
+ - Fix the SYSTEM SYNC REPLICA statement when exchanging tables ON CLUSTER for incremental materializations. Thanks to
23
+ [ Schum] ( https://github.com/Schum-io ) for PR. Closed https://github.com/ClickHouse/dbt-clickhouse/issues/157 .
24
+
1
25
### Release [ 1.4.1] , 2023-05-11
2
26
#### Improvements
3
27
- Reduce the number of SQL calls for Modify Comment operations. Thanks to [ Konstantin Ilchenko] ( https://github.com/simpl1g ) .
Original file line number Diff line number Diff line change 1
- version = '1.4.3 '
1
+ version = '1.4.4 '
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ def exception_handler(self, sql):
30
30
logger .debug ('Error running SQL: {}' , sql )
31
31
if isinstance (exp , dbt .exceptions .DbtRuntimeError ):
32
32
raise
33
- raise dbt .exceptions .DbtRuntimeError from exp
33
+ raise dbt .exceptions .DbtRuntimeError ( 'ClickHouse exception: ' + str ( exp )) from exp
34
34
35
35
@classmethod
36
36
def open (cls , connection ):
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ def _check_atomic_exchange(self) -> bool:
180
180
for table in swap_tables :
181
181
self .command (f'DROP TABLE IF EXISTS { table } ' )
182
182
except DbtDatabaseError :
183
- logger .info ('Unexpected server exception dropping table' , exc_info = True )
183
+ logger .info ('Unexpected server exception dropping table' )
184
184
except DbtDatabaseError :
185
- logger .warning ('Failed to run exchange test' , exc_info = True )
185
+ logger .warning ('Failed to run exchange test' )
186
186
return False
You can’t perform that action at this time.
0 commit comments