当前位置:网站首页>Connect the Snowflake of CKAN tutorial CKAN to release to open data portal
Connect the Snowflake of CKAN tutorial CKAN to release to open data portal
2022-08-03 01:32:00 【Knowledge is big and fat】
The State of California leverages CKAN data management products to provide California citizens with extensive datasets from government agencies on the California Open Data Portal.These datasets are public and can be downloaded by anyone.The current state details how State can extract and load data through a python application.This small application requires an Azure virtual machine instance that needs to be brought online or manually turned on periodically to extract and load.This requires maintenance for small applications that they want to avoid.In this article, I detailed how to use an external function to push a dataset directly from Snowflake to CKAN.
Current Status
The current state requires managed servers that the infrastructure team must monitor.To avoid some of the work associated with this small server, the team is interested in establishing a more native Snowflake connection on the OpenGov-managed CKAN server.The deployed python code runs periodically and is triggered by a Windows OS task.
The python code checks for updates once a day and uploads data to CKAN.To do this, the python code extracts the data from Snowflake and puts it on the local file system as a csv.Then a stream of bytes pushes the data to CKAN.This means we have a file copy in Snowflake, a temporary data copy on the python server, and a data copy in CKAN.Every step in the process physically moves data.
Future Status
We want to build a pipeline that removes as much infrastructure from the equation as possible.So we're going to use Snowflake as our source of truth and connect with OpenGov in some direct way.as external
边栏推荐
猜你喜欢
随机推荐
MySQL删除数据后,释放磁盘空间
脂溶性胆固醇-聚乙二醇-叠氮,Cholesterol-PEG-Azide,CLS-PEG-N3
智能电视竞争白热化,利用小程序共建生态突围
你离「TDengine 开发者大会」只差一条 SQL 语句!
Token、Redis实现单点登录
Jmeter二次开发实现rsa加密
严格反馈非线性系统基于事件触发的自抗扰预设有限时间跟踪控制
用大白话解释“什么是ERP?” 看完这篇就全明白了
CodeTON Round 2 A - D
基于奇异谱分析法和长短时记忆网络组合模型的滑坡位移预测
MySql查询某个时间段内的数据(前一周、前三个月、前一年等)
openssl源码下载
centos7安装mysql8
Mock工具之Moco使用教程
CKAN教程之将 Snowflake 连接到 CKAN 以发布到开放数据门户
MySQL 用id分库使用name查询
redis的学习笔记
Strict feedback nonlinear systems based on event trigger preset since the immunity of finite time tracking control
B站回应HR称用户是Loser:涉事面试官去年底已被劝退
程序员如何优雅地解决线上问题?