snow
Join us at the Snowflake Summit!
Visit us at Booth #1206.
snow
Blog ill4 scaled
Share this article

Why did we build a Native App for Honeydew Semantic Layer on Snowflake?

Picture of Baruch Oxman
Baruch Oxman

Co-founder & CTO

Introduction

Semantic layers are awesome. But they are even more awesome when they are tightly integrated into your Snowflake, and right at your fingertips in your Snowflake Web Interface or Snowflake application.

Enter … 🥁

The Honeydew Native App.

Our users demand a semantic layer in their Snowflake Workbooks

A semantic layer serves many purposes: it enables data democratization, provides consistency, ensures governance, and saves countless hours of engineering. With a semantic layer, analytics engineers can enjoy a weekend, and business users can trust a dashboard.

Users access our semantic layer with a to ol of their choice: their Looker, Tableau, Jupyter, or even DBeaver. But, alas, one very important tool was left behind: the Snowflake Web Interface, Snowsight.

No one likes switching tabs.

With a Native App, there is no need.

Applications built on Snowflake want a semantic layer

Snowflake enables building applications powered by the Data Cloud. Many of those applications include custom-developed query generators, to bridge between application code and the data warehouse. For an application developer, a semantic layer is a query generator on steroids: it understands data structure and relations and can construct correct fast queries for ad-hoc needs.

But how to integrate it into an application? Right, the Native App.

The Native App encapsulates and secures access to the semantic layer by any means of connection to Snowflake: JDBC, ODBC, Node.js, PHP, Go, .NET, or Python. A semantic layer on Snowflake can now be used to generate queries from any application built on Snowflake.

More security

Snowflake provides user management, access control, encryption, and network separation for every query and connection. Organizations invest in security design ensuring sensitive or private data is always protected.

Now with a Native App, the semantic layer gets the same protection of the Snowflake environment. The access to it is confined to the Snowflake connection, whether it comes from Snowsight or any other Snowflake client.

What can the users do with the Honeydew Native App?

The Native App provides access to the Honeydew semantic layer:

  1. Business metadata for governance and cataloging, such as metrics and relationships.
  2. Query generator for ad-hoc data access based on shared semantics.
  3. Management APIs for automation and management purposes.


A few examples are below – covering just a small part of its abilities!

Metadata access to shared semantics

List the available semantic entities in a workspace:

				
					select name from table(HONEYDEW_APP.API.LIST_ENTITIES('tpch'));
				
			
1

Explore the relations between different entities, to see how they are connected:

				
					select source, target, type, connection from table(HONEYDEW_APP.API.LIST_RELATIONS('tpch')) where source = 'orders';
				
			
Untitled

Find all metrics that are related to “revenue”:

				
					select name, entity, sql from table(HONEYDEW_APP.API.LIST_FIELDS('tpch')) WHERE TYPE = 'Metric' and NAME LIKE '%revenue%';
				
			
Untitled 1

Data access powered by shared semantics

One of the advantages of using the Honeydew Semantic Layer on Snowflake is that the users do not have to worry about how to join tables while querying data.

Just combine attributes and metrics, and the Semantic Layer will generate the right query:

				
					select HONEYDEW_APP.API.GET_SQL('tpch', 'select "orders.order_month" as order_month, AGG("customers.count") as customers_count from world.world order by order_month asc');
				
			
Users can also run the generated query directly in Snowflake, and put the results in a transient table. Then that table can be used to build subsequent analysis steps.
				
					call HONEYDEW_APP.API.RUN_SQL('tpch', 'select "orders.order_month" as order_month, AGG("customers.count") as customers_count from world.world order by order_month asc', 'customers_by_month');
select * from HONEYDEW_APP.QUERY_RESULTS.customers_by_month where year(order_month) = 1997;
				
			

I only use Tableau/ Looker/ PowerBI – do I need the Native App?

Nope. The Honeydew semantic layer works without it as well, securely and reliably.

However, the native app benefits few scenarios:

  1. Using the semantic layer directly from Snowsight, the Snowflake Web Interface.
  2. Using the semantic layer from full-stack application code built on Snowflake.
  3. Using the semantic layer where security policies are highly custom and conservative, such as in government environments.

Semantic Layer becomes a native platform capability

This Honeydew Native App integration allows organizations to embed a semantic layer deeper into Snowflake, making it a native platform capability.

Users can access the semantic layer directly within the familiar Snowflake environment, enhancing their productivity and efficiency. The native app helps streamline data security management, ensuring that only authorized users can access and analyze sensitive data. Additionally, Honeydew enables users to create more complex workflows, leveraging the semantic layer as a single source of truth.

Now what?

You can install the Honeydew Native App for Snowflake.

Or talk to us to set up a demo.

6 minute read
Talking to data has become feasible thanks to LLMs, But How? And Why?
Picture of David Krakov
David Krakov

Co-founder and CEO

12 minute read
Behind the Curtain: The Role of Semantic Layers in Teaching AI Your Data
Picture of Nir Yalin
Nir Yalin

Head of Data Solutions

10 minute read
Where to build that metric? Should it be in dbt or a semantic layer? Join me talking with Adam Morton
Picture of Nir Yalin
Nir Yalin

Head of Data Solutions

6 minute read
Where to build that metric? Should it be in dbt or a semantic layer? Join me talking with Adam Morton
Picture of David Krakov
David Krakov

Co-Founder & CEO