Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
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
10 changes: 10 additions & 0 deletions .github/workflows/build-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ jobs:
DISPLAY_NAME="DuckDB Driver"; SUMMARY="DuckDB analytical database driver"
DB_TYPE_IDS='["DuckDB"]'; ICON="bird"; BUNDLE_NAME="DuckDBDriver"
HOMEPAGE="https://tablepro.app" ;;
cassandra)
TARGET="CassandraDriver"; BUNDLE_ID="com.TablePro.CassandraDriver"
DISPLAY_NAME="Cassandra Driver"; SUMMARY="Apache Cassandra and ScyllaDB driver via DataStax C driver"
DB_TYPE_IDS='["Cassandra"]'; ICON="cassandra-icon"; BUNDLE_NAME="CassandraDriver"
HOMEPAGE="https://tablepro.app/databases/cassandra" ;;
*) echo "Unknown plugin: $plugin_name"; return 1 ;;
esac
}
Expand All @@ -91,6 +96,11 @@ jobs:

echo "Building $TARGET v$VERSION"

# Build Cassandra dependencies if needed
if [ "$PLUGIN_NAME" = "cassandra" ]; then
./scripts/build-cassandra.sh both
fi
Comment thread
coderabbitai[bot] marked this conversation as resolved.

# Build both architectures
./scripts/build-plugin.sh "$TARGET" arm64
./scripts/build-plugin.sh "$TARGET" x86_64
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Pre-connect script: run a shell command before each connection (e.g., to refresh credentials or update ~/.pgpass)
- `ParameterStyle` enum in TableProPluginKit: plugins declare `?` or `$1` placeholder style via `parameterStyle` property on `PluginDatabaseDriver`
- DML statement generation in ClickHouse, MSSQL, and Oracle plugins via `generateStatements()` for database-specific UPDATE/DELETE syntax
- Cassandra and ScyllaDB database support via DataStax C driver (downloadable plugin)
- `quoteIdentifier` method on `PluginDatabaseDriver` and `DatabaseDriver` protocols: plugins provide database-specific identifier quoting (backticks for MySQL/SQLite/ClickHouse, brackets for MSSQL, double-quotes for PostgreSQL/Oracle/DuckDB, passthrough for MongoDB/Redis)

### Changed
Expand Down
3 changes: 3 additions & 0 deletions Libs/libcassandra.a
Git LFS file not shown
3 changes: 3 additions & 0 deletions Libs/libcassandra_arm64.a
Git LFS file not shown
3 changes: 3 additions & 0 deletions Libs/libuv.a
Git LFS file not shown
3 changes: 3 additions & 0 deletions Libs/libuv_arm64.a
Git LFS file not shown
14 changes: 14 additions & 0 deletions Plugins/CassandraDriverPlugin/CCassandra/CCassandra.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//
// CCassandra.h
// TablePro
//
// C bridging header for the DataStax Cassandra C driver.
// Headers are bundled in the include/ subdirectory.
//

#ifndef CCassandra_h
#define CCassandra_h

#include "include/cassandra.h"

#endif /* CCassandra_h */
Loading
Loading