Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support functions #120

Merged
merged 5 commits into from
Apr 4, 2024
Merged

Support functions #120

merged 5 commits into from
Apr 4, 2024

Conversation

felix-dumit
Copy link
Contributor

Overview

Adds support for User-Defined functions dump/load to structure.sql
https://clickhouse.com/docs/en/sql-reference/statements/create/function

Side-Note

I wasn't able to just run the specs in this repo from just cloning it, I had to first create database from the config I had in another repo, in order to then run the specs from this repo. It would be nice to either add some more documentation or make this repo self-contained for running specs.

@PNixx
Copy link
Owner

PNixx commented Feb 28, 2024

And need add dump for SchemaDumper class.

@felix-dumit
Copy link
Contributor Author

@PNixx added, can you please check

@felix-dumit
Copy link
Contributor Author

Fixed latest conflicts with master

@felix-dumit
Copy link
Contributor Author

@PNixx Hi, could you take another look? Anything else I need to change?

@PNixx
Copy link
Owner

PNixx commented Apr 2, 2024

@felix-dumit see review questions.

@felix-dumit
Copy link
Contributor Author

@PNixx Sorry, what questions do you mean? I don't see anything

@felix-dumit
Copy link
Contributor Author

@PNixx Those say "Pending" so they are only visible for you, you need to submit your review

@felix-dumit felix-dumit requested a review from PNixx April 3, 2024 01:34
@felix-dumit felix-dumit requested a review from PNixx April 3, 2024 22:03
@PNixx PNixx merged commit 6ad665c into PNixx:master Apr 4, 2024
6 checks passed
leboshi added a commit to magellan-ai/clickhouse-activerecord that referenced this pull request Apr 20, 2024
dmitrytrager added a commit to mayak-bz/clickhouse-activerecord that referenced this pull request May 20, 2024
* upstream: (39 commits)
  fix schema dumper for buffer table
  create table similar to other table
  published 1.0.7 - fix db tasks
  published 1.0.6
  dump indexes to schema
  rebuild and clear indexes
  add support indexes
  Hotfix/rails71 change column (PNixx#132)
  Support functions (PNixx#120)
  Fix precision loss due to JSON float parsing (PNixx#129)
  fix non-canonical uuid (PNixx#117)
  refactoring
  add github workflows, fix spec delete and update, fix injection internal and schema classes for rails 7
  add spec for pr PNixx#123
  Fix wrong method arguments (PNixx#123)
  Fix schema_migrations insert failing (PNixx#122)
  Add support for binary string (PNixx#116)
  add spec for do_execute method before merge PNixx#116
  fix `insert_all` array column
  refactoring connection config
  ...
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