ChaseGilliam

ChaseGilliam

Snowflex - a Snowflake library with an Ecto Adapter

Not long ago we released the 1.0 release of Snowflake which moved us off of ODBC(which is unmaintained in OTP) and onto the Snowflake HTTP api. This release is fully Ecto/DBConnection compatible and can run tests locally using sqlite. It should be much easier to install and run than older versions which required ODBC drivers.

This adapter implements the following Ecto behaviours:

  • Ecto.Adapter - Core adapter functionality
  • Ecto.Adapter.Queryable - Query execution and streaming
  • Ecto.Adapter.Schema - Schema operations (insert, update, delete)

Requirements

If using the provided Snowflex.Transport.Http transport, the only currently supported authentication method is keypair.

In order to obtain the public_key_fingerprint, please follow Snowflake’s instructions.

https://github.com/pepsico-ecommerce/snowflex

First 6 of 6 Posts Switch mode

garrison

garrison

I poked around a bit and this looks like very nice work. There is something really funny to me about seeing “Copyright PepsiCo” on an Elixir library :slight_smile: Thanks for contributing back!

BTW, you might want to tag your recent releases on the repo as at first glance it looks like there hasn’t been a release for a long time even though there have been several.

ChaseGilliam

ChaseGilliam

Yeah we should probably tag releases again. For a while I didn’t think anyone outside of our teams were using it, but the other two Snowflake libraries were abandoned so I thought it would be good to let people know this exists and is used in anger.

ChaseGilliam

ChaseGilliam

Just popped off a new github release.

loucash

loucash

Hey @ChaseGilliam

Thank you for building this library and making it available. Is there any tutorial how to set it up in a way that I could connect to Snowflake, use Ecto to build select queries and run tests either using Postgresql or SQLite?

Cheers,

Lukasz

ChaseGilliam

ChaseGilliam

Right now, just what’s in the README for config and testing. The docs here may also be helpful.

ChaseGilliam

ChaseGilliam

We recently released version 1.2.1 which includes a big improvement in memory consumption for large data sets.

— All posts loaded —

Where Next?

Trending in Announcing Top

bluzky
You may know https://ui.shadcn.com/, a UI component library for React. I really love it’s design style and components. I’ve built some co...
387 14960 120
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
shahryarjb
The Chelekom project is a library of Phoenix and LiveView components generated via Mix tasks to fit developer needs seamlessly. One of i...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
quatermain
Hello, I’m sharing my plugin here in forum after some time so it has time to mature and proof yourself. I use Claude Code daily on a pr...
New

Other Trending Topics Top

type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
akoutmos
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
bjorng
We want to introduce a new native datatype to Erlang: native records. Although replacing all tuple records with native records is not our...
New
spammy
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
yureehuh
Introduction Founded in 2017 by landscape ecologist and fire mitigation expert Harry Statter, Frontline developed the first fully integra...
New

We're in Beta

About us Mission Statement