Quantcast
Channel: BI Future Blog
Browsing latest articles
Browse All 182 View Live
↧

Image may be NSFW.
Clik here to view.

Working with the Number data type in Snowflake

IntroductionĀ A small blogpost about a confusion that we had during importing data from Oracle into Snowflake. First the precision is about all of the digits and not the digits before the dot. Next we...

View Article


Image may be NSFW.
Clik here to view.

A database selector in Snowflake with help of IDENTIFIER() function

IntroductionI've to build a new solution against a couple of databases and they are organized in a couple of environments (Development, Preproduction and Production) and I want to run my code...

View Article


Image may be NSFW.
Clik here to view.

Key pair authentication with Snowflake

IntroductionNormally I would log into Snowflake with Signle Sign On or with Username and Password, but I wanted to know more about Key Pair Authentication, especially in relation with Snowsql. I have a...

View Article

Image may be NSFW.
Clik here to view.

Building a dynamic table count dashboard in Snowflake

IntroductionLoading a dataplatform can be sometimes difficult and gaining control of the loading process can help to understand which tables are loading and which not. And, you can view in one...

View Article

Image may be NSFW.
Clik here to view.

Generating DROP Statements in Snowflake (Part I)

IntroductionI want to drop certain objects in certain schemas of a database (and I don't want to drop the schema) and therefore I decided to build a piece of code that could do that in a dynamic way....

View Article


Generating DROP Statements in Snowflake (Part II)

IntroductionThis is a follow up on my blogpost about dropping database objects (view, table and stored procedure) in a database. This was just a script but I want to have a stored procedure with...

View Article

AdventureWorksLT on Snowflake

I've created a small on project on Github with code of AdventureWorksLT for Snowflake. I've used the code created by PaulDSherrifĀ and transformed it into Snowflake code. I've focussed only on the...

View Article

Image may be NSFW.
Clik here to view.

Error handling in a Snowflake Stored Procedure

IntroductionOne of the things you should look at when you are building stored procedures in Snowflake is error handling. In Snowflake there is the option of using EXCEPTION in code blocks. An exception...

View Article


Image may be NSFW.
Clik here to view.

Creating a table comparison stored procedure in Snowflake

IntroductionSometimes you want to compare tables between two databases. I've created a stored procedure in Snowflake that compares all the tables in a schema (or multiple schemas) between databases....

View Article


Image may be NSFW.
Clik here to view.

Snowflake issue with DATE_OUTPUT_FORMAT parameter

Today we encountered an issue with Snowflake. The DATE_OUTPUT_FORMAT parameter was not used when outputting the DATE datatype. The DATE_OUTPUT_FORMAT parameter is een parameter that formats the display...

View Article

Image may be NSFW.
Clik here to view.

Timetravel in Snowflake

IntroductionTimetravel has become a common functionality in Cloud dataplatforms like Snowflake, Databricks and Microsoft Fabric. It is quite easy to use and it can save you when you have done something...

View Article

Image may be NSFW.
Clik here to view.

Timetravel in Snowflake to retrieve previous code back

IntroductionMainly, Timetravel is focussed on getting the old data back, but what if you have doubts whether some code worked before and now it isn't anymore. Can you retrieve the previous code back?...

View Article

Image may be NSFW.
Clik here to view.

Build a data warehouse with DBT and Snowflake on AdventureWorksLT (PART I)

IntroductionIn this blogpost, I want to show you a couple of things that you can do with DBT and Snowflake. I've already installed and setup DBT for Snowflake. For the purpose of this blogpost, I've...

View Article


Image may be NSFW.
Clik here to view.

Build staging, dimensions and facts in DBT for Snowflake (PART II)

IntroductionIn this blogpost, IĀ  made a description about the models I've created based on the AdventureWorks LT database in Snowflake. In the previous blogpost I have described the setup of the...

View Article

Image may be NSFW.
Clik here to view.

Sources in DBT for Snowflake (PART III)

IntroductionIn the previous blogposts about DBT and Snowflake, we started building up a DBT project based on AdventureWorksLT Database, that I have converted to Snowflake. Let's convert our staging...

View Article


Image may be NSFW.
Clik here to view.

Data freshness for DBT in snowflake (Part IV)

IntroductionDBT has the possibility to check whether your data in your platform, like a datawarehouse is up to date. It compares the current data in the table(s) and checks it with the data in the...

View Article

Image may be NSFW.
Clik here to view.

Snapshots in DBT for Snowflake (Part V)

IntroductionSnapshots in DBT are directly connected with Slow Changing Dimensions TYPE 2 (SCD). A snapshot in DBT tracks the differences in the data over a period of time and creating a historyĀ  for...

View Article


Image may be NSFW.
Clik here to view.

Generic tests in DBT for Snowflake (PART VI)

IntroductionIn a RDBMS there are all kind of standard 'tests' available.Ā  For instance when you define a primary key on a column, the RDBMS checks on the uniqueness when data is inserted in the table....

View Article

Image may be NSFW.
Clik here to view.

Singular tests in DBT for Snowflake (Part VII)

IntroductionSingular tests are tests that are not the same as standard tests. There are four standard tests but it is also possible to define your own tests in DBT. In this blogpost I show you the way...

View Article

Image may be NSFW.
Clik here to view.

Add packages to your DBT project (Part VIII)

IntroductionWith DBT it's possible to add custom packages to your project. There are all kind of packages available at DBT Hubs. You can install them into your project. In this blogpost I show you...

View Article

Image may be NSFW.
Clik here to view.

Adding documentation to your DBT project (Part IX)

IntroductionSometimes you get the question from a collegue about that he or she wants to know more about how a specific measure is generated. DBT has a documentation option you can use for this. Lets...

View Article


Image may be NSFW.
Clik here to view.

Working with hooks in DBT (Part X)

IntroductionIn one of my projects I've built a logging mechanism with stored procedures in Snowflake. It will log the start of a run, the start of load procedure, the end of the load procedure and the...

View Article


dbt Analytics Engineering Certification Exam cheatsheet

IntroductionI'm preparing for the DBT exam and I used theĀ  "dbt Analytics Engineering Certification Exam Study Guide" for searching for more information about the topics covered in the exam. I stored...

View Article

Image may be NSFW.
Clik here to view.

Ephemeral tables in DBT (Part XI)

IntroductionIn this blogpost we're going to take a look at a specific type of a materialization, known as ephemeral. According to DBT : materializations are strategies for persisting dbt models in a...

View Article

Image may be NSFW.
Clik here to view.

Certified DBT Developer certification

Wow, I finally managed to pass the exam of DBT Developer certification. I failed two times first because I didn't had much of handson experience with DBT. That will change in the future. So, I had to...

View Article

Browsing latest articles
Browse All 182 View Live