You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This DuckDB extension implements various macros using ClickHouse SQL syntax, making it easier<br>
7
+
The [chsql](https://community-extensions.duckdb.org/extensions/chsql.html) DuckDB extension implements various macros using ClickHouse SQL syntax, making it easier<br>
6
8
to transition between the two database systems ⭐ designed for [Quackpipe](https://github.com/metrico/quackpipe)
7
9
8
10
<br>
@@ -16,6 +18,12 @@ INSTALL chsql FROM community;
16
18
LOAD chsql;
17
19
```
18
20
21
+
If you previously installed the `chsql` extension, upgrade using the FORCE command
22
+
```
23
+
FORCE INSTALL chsql FROM community;
24
+
```
25
+
26
+
19
27
## Usage Examples
20
28
```sql
21
29
-- Type conversion
@@ -33,11 +41,13 @@ SELECT intDiv(10, 3) as int_div;
33
41
SELECT match('hello world', '%world%') as match_result;
34
42
```
35
43
36
-
Find more examples in the [tests]([test/sql/chsql.sql](https://github.com/lmangani/duckdb-extension-clickhouse-sql/blob/main/test/sql/chsql.test)) and [source code](https://github.com/lmangani/duckdb-extension-clickhouse-sql/blob/main/src/chsql_extension.cpp#L31). _Contributions and fixes are extremely welcome!_
44
+
Find a [full list of supported functions](https://community-extensions.duckdb.org/extensions/chsql.html#added-functions) on the [extension page](https://community-extensions.duckdb.org/extensions/chsql.html).
37
45
38
46
<br>
39
47
40
-
## Building
48
+
## Development
49
+
The extension is automatically build and distributed. This section is not required unless you are a developer extending the code.
50
+
41
51
### Managing dependencies
42
52
DuckDB extensions uses VCPKG for dependency management. Enabling VCPKG is very simple: follow the [installation instructions](https://vcpkg.io/en/getting-started) or just run the following:
0 commit comments