Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Jul 9, 2024
1 parent 1a5adcf commit 21c240e
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,21 @@

# DuckDB ClickHouse SQL extension

This DuckDB extension implements various macros using ClickHouse SQL syntax, making it easier to transition between the two database systems ⭐ designed for [Quackpipe](https://github.com/metrico/quackpipe)
This DuckDB extension implements various macros using ClickHouse SQL syntax, making it easier<br>
to transition between the two database systems ⭐ designed for [Quackpipe](https://github.com/metrico/quackpipe)

<br>

## Installation

**chsql** is distributed as a [DuckDB Community Extension](https://github.com/duckdb/community-extensions) and can be installed using SQL:

## Examples
```sql
INSTALL chsql FROM community;
LOAD chsql;
```

## Usage Examples
```sql
-- Type conversion
SELECT toInt32(123456789) as int32;
Expand Down Expand Up @@ -66,6 +78,7 @@ Different tests can be created for DuckDB extensions. The primary way of testing
make test
```

<!--
### Installing the deployed binaries
To install your extension binaries from S3, you will need to do two things. Firstly, DuckDB should be launched with the
`allow_unsigned_extensions` option set to true. How to set this will depend on the client you're using. Some examples:
Expand Down Expand Up @@ -98,3 +111,5 @@ After running these steps, you can install and load your extension using the reg
INSTALL dynamic_sql_clickhouse
LOAD dynamic_sql_clickhouse
```
-->

0 comments on commit 21c240e

Please sign in to comment.