id stringlengths 7 11 | source stringclasses 1
value | category stringclasses 11
values | title stringlengths 15 214 | text stringlengths 70 30.5k | url stringlengths 57 160 | tags stringlengths 3 113 | created_at int64 1.22B 1.79B |
|---|---|---|---|---|---|---|---|
se_75758419 | stackoverflow | DATA_ENGINEERING | How can I use pandas .head() function for multiple dataframes? | How can I use pandas .head() function for multiple dataframes?
I would like to examine the head of the dataframes below at the same, without repeating .head() 3x.
ride_sharing = pd.read_csv('datasets/ride_sharing_new.csv', index_col = 'Unnamed: 0')
airlines = pd.read_csv('datasets/airlines_final.csv', index_col = 'Un... | https://stackoverflow.com/questions/75758419/how-can-i-use-pandas-head-function-for-multiple-dataframes | python, pandas, dataframe, etl | 1,678,981,126 |
se_75769310 | stackoverflow | DATA_ENGINEERING | NODE.JS increase the size of the ssh2-promise result in the exec function | NODE.JS increase the size of the ssh2-promise result in the exec function
I'm using Node.js to extract some large files (sometimes larger than 2 GB).
Not all the data in these files are needed hence why, is order to avoid downloading the whole file, i'm currently using sshpass command combined with cat and grep on wha... | https://stackoverflow.com/questions/75769310/node-js-increase-the-size-of-the-ssh2-promise-result-in-the-exec-function | javascript, node.js, shell, etl, ssh2 | 1,679,066,282 |
se_75740005 | stackoverflow | DATA_ENGINEERING | SSIS error while loading data from XML to SQL Server database | SSIS error while loading data from XML to SQL Server database
I am getting the following error while loading data from an XML file into a SQL Server database. The database is on my local machine.
[XML Source [41]] Error: The "XML Source" failed because truncation occurred, and the truncation row disposition on "XML S... | https://stackoverflow.com/questions/75740005/ssis-error-while-loading-data-from-xml-to-sql-server-database | sql-server, ssis, load, etl | 1,678,847,128 |
se_31111990 | stackoverflow | DATA_ENGINEERING | Data conversion failed -"The value could not be converted because of a potential loss of data." | Data conversion failed -"The value could not be converted because of a potential loss of data."
I have a simple data flow where I read data out of a table, do some data conversions, and load it into another table:
However when I run the package I get the following errors:
Error: 0xC02020C5 at Atish to CR... | https://stackoverflow.com/questions/31111990/data-conversion-failed-the-value-could-not-be-converted-because-of-a-potential | sql-server, debugging, ssis, etl, data-conversion | 1,435,569,539 |
se_75768069 | stackoverflow | DATA_ENGINEERING | software.amazon.awssdk.services.s3.model.S3Exception: null (Service: S3, Status Code: 400)? | software.amazon.awssdk.services.s3.model.S3Exception: null (Service: S3, Status Code: 400)?
Iam trying to add s3 data lake as a destination in Fivetran an ETL tool. For that i have created a role with s3 and glue access, accessed by another aws account user(fivetran). I can able to connect s3 without any issues from F... | https://stackoverflow.com/questions/75768069/software-amazon-awssdk-services-s3-model-s3exception-null-service-s3-status | amazon-web-services, amazon-s3, etl, aws-glue, fivetran | 1,679,059,242 |
se_75770534 | stackoverflow | DATA_ENGINEERING | transfer millions of records from Postgres DB to another Postgres, select result is random | transfer millions of records from Postgres DB to another Postgres, select result is random
I have requirements to build an API that transfers Postgres query data that contains millions of records into another Postgres DB
The source is hosted on Azure and the Postgres is on Prem.
I tried building transactions using nod... | https://stackoverflow.com/questions/75770534/transfer-millions-of-records-from-postgres-db-to-another-postgres-select-result | node.js, postgresql, etl | 1,679,074,242 |
se_75756458 | stackoverflow | DATA_ENGINEERING | What are options to change datatype of GCP Big Query ( BQ) large table column type to a NON coercible datatype | What are options to change datatype of GCP Big Query ( BQ) large table column type to a NON coercible datatype
Hello GCP and Big Query experts, I have a large GCP Big Query (BQ) table . I need to change the datatype of one column in that table from INT64 to STRING.
For that I first referred to BQ conversion rules
As p... | https://stackoverflow.com/questions/75756458/what-are-options-to-change-datatype-of-gcp-big-query-bq-large-table-column-ty | google-cloud-platform, google-bigquery, etl | 1,678,970,701 |
se_75732655 | stackoverflow | DATA_ENGINEERING | Can ChoETL csv reader read a column into an ICollection field? | Can ChoETL csv reader read a column into an ICollection field?
I have a csv with details about an order. There is one line per order, but in my code this translates to an Order object with an ICollection<OrderLine> Lines property. I need to read each order in to an Order object with the order line info added as an ite... | https://stackoverflow.com/questions/75732655/can-choetl-csv-reader-read-a-column-into-an-icollection-field | c#, csv, etl, choetl | 1,678,793,957 |
se_75738907 | stackoverflow | DATA_ENGINEERING | Running multiple scripts with one glue job | Running multiple scripts with one glue job
Is it possible to have one glue job run a different script file at each invocation depending on a parameter passed to the glue job while triggering it? | https://stackoverflow.com/questions/75738907/running-multiple-scripts-with-one-glue-job | python, amazon-web-services, etl, aws-glue | 1,678,832,623 |
se_75737709 | stackoverflow | DATA_ENGINEERING | Do databricks secrets work with community edition? | Do databricks secrets work with community edition?
I'm trying to create an ETL project for resume fluff. The idea is that I would have real estate data web-scraped with python (done), then cleaned with pyspark in databricks (done), then have the dataframe pushed to AWS DynamoDB and maybe output to a dashboard in Power... | https://stackoverflow.com/questions/75737709/do-databricks-secrets-work-with-community-edition | dataframe, pyspark, databricks, etl, databricks-community-edition | 1,678,823,066 |
se_75656924 | stackoverflow | DATA_ENGINEERING | Delimiter issue - Copying Data from Azure SQL to Snowflake | Delimiter issue - Copying Data from Azure SQL to Snowflake
I am trying to load data from Azure SQL to Snowflake. I am under the constraint to use the copy activity only.
I am using a lookup table to reference a metadata table with the source schema, source tables, target schema, and target tables.
I am then using a Fo... | https://stackoverflow.com/questions/75656924/delimiter-issue-copying-data-from-azure-sql-to-snowflake | snowflake-cloud-data-platform, azure-data-factory, etl | 1,678,147,600 |
se_57378832 | stackoverflow | DATA_ENGINEERING | Best Practice for Batch Processing with RabbitMQ | Best Practice for Batch Processing with RabbitMQ
I'm looking for the best way to preform ETL using Python.
I'm having a channel in RabbitMQ which send events (can be even every second).
I want to process every 1000 of them.
The main problem is that RabbitMQ interface (I'm using pika) raise callback upon every messag... | https://stackoverflow.com/questions/57378832/best-practice-for-batch-processing-with-rabbitmq | python-3.x, rabbitmq, etl | 1,565,103,270 |
se_74146514 | stackoverflow | DATA_ENGINEERING | SSIS - Excel Source | SSIS - Excel Source
Why when I open the task Excel Source on my SSIS (vs2017) this one generates an automatic empty file with sheet names like "a266ff2a662e84b639da". is possible to disable this action?
task Excel Source | https://stackoverflow.com/questions/74146514/ssis-excel-source | excel, ssis, visual-studio-2017, etl, ssis-2017 | 1,666,301,494 |
se_75705424 | stackoverflow | DATA_ENGINEERING | SSIS Dynamic Column Mapping | SSIS Dynamic Column Mapping
I am using SSIS to do data transfer from OLEDB SQL to OLEDB SQL. Both databases are SQL Server.
I have over 100 tables to transfer data from database-A to database-B (truncate-insert) and I want to do this with dynamic data task flow & one package.
Each table has different column names.
My ... | https://stackoverflow.com/questions/75705424/ssis-dynamic-column-mapping | sql-server, ssis, etl | 1,678,542,913 |
se_75695046 | stackoverflow | DATA_ENGINEERING | Is there a possibility to add a new column between two columns in a Bigquery table? | Is there a possibility to add a new column between two columns in a Bigquery table?
I'm loading data into a BigQuery table, extracting from MySQL table. Now there is a addition of new column to already existing MySQL table between existing two columns. Is there any possibility to add a column between already existing ... | https://stackoverflow.com/questions/75695046/is-there-a-possibility-to-add-a-new-column-between-two-columns-in-a-bigquery-tab | sql, google-cloud-platform, google-bigquery, etl | 1,678,444,691 |
se_48749592 | stackoverflow | DATA_ENGINEERING | SSIS Data Flow Task Error: Object reference not set to an instance of an object | SSIS Data Flow Task Error: Object reference not set to an instance of an object
I am trying to create a package containing several Data Flow tasks in them. The tasks are fairly similar in nature, but contain fairly important differences.
I have tried to copy the task, then change the things which need changing.
When... | https://stackoverflow.com/questions/48749592/ssis-data-flow-task-error-object-reference-not-set-to-an-instance-of-an-object | sql-server, ssis, etl, script-component | 1,518,448,494 |
se_75660330 | stackoverflow | DATA_ENGINEERING | Informatica_Reader_1_1 : ERROR OPENING FILE [/Users/triti/OneDrive/Desktop/used_bikes.csv] Operating system error message [No such file or directory] | Informatica_Reader_1_1 : ERROR OPENING FILE [/Users/triti/OneDrive/Desktop/used_bikes.csv] Operating system error message [No such file or directory]
i am learning informatica powercenter and have created a mapping with aggregator transformation averaging prices by city. Both the source and target exist in the same di... | https://stackoverflow.com/questions/75660330/informatica-reader-1-1-error-opening-file-users-triti-onedrive-desktop-used | etl, informatica, informatica-powercenter | 1,678,182,572 |
se_61796267 | stackoverflow | DATA_ENGINEERING | Data Lake: fix corrupted files on Ingestion vs ETL | Data Lake: fix corrupted files on Ingestion vs ETL
Objective
I'm building datalake, the general flow looks like Nifi -> Storage -> ETL -> Storage -> Data Warehouse.
The general rule for Data Lake sounds like no pre-processing on ingestion stage. All ongoing processing should happen at ETL, so you have provenance ove... | https://stackoverflow.com/questions/61796267/data-lake-fix-corrupted-files-on-ingestion-vs-etl | architecture, etl, data-ingestion, data-lake, data-governance | 1,589,455,792 |
se_75660195 | stackoverflow | DATA_ENGINEERING | Faster way to process 50 million records in Oracle | Faster way to process 50 million records in Oracle
I'm trying to do a CDC on 60 million records in Oracle .
I need to check 60million source(TABLE_TEMP) records against the Target (TABLE) and do Insert , Update or soft Delete operations.
I tried to write individual queries and executed them but it takes really long ti... | https://stackoverflow.com/questions/75660195/faster-way-to-process-50-million-records-in-oracle | oracle11g, etl, bulkinsert, insert-update | 1,678,181,782 |
se_75636145 | stackoverflow | DATA_ENGINEERING | defaultValueExpression not working on PubSub-to-BigQuery subscription | defaultValueExpression not working on PubSub-to-BigQuery subscription
I have set up a pipeline which works as follows: A message is published to a PubSub topic which has schema enforcement & then a PubSub-to-BigQuery subscriber sends the messages into a BQ table with the same schema.
I have a specific field called ing... | https://stackoverflow.com/questions/75636145/defaultvalueexpression-not-working-on-pubsub-to-bigquery-subscription | sql, json, google-bigquery, etl, google-cloud-pubsub | 1,677,938,508 |
se_75626189 | stackoverflow | DATA_ENGINEERING | google translate API bottleneck | google translate API bottleneck
I'm currently working on an ETL pipeline and it takes too long to run after checking which part of the code takes the longest I found this:
I'm using the Google Cloud Translate API to translate keywords that don't have translations in my db, but I'm running into a bottleneck when I try ... | https://stackoverflow.com/questions/75626189/google-translate-api-bottleneck | python, google-cloud-platform, etl, google-translate | 1,677,841,064 |
se_75614314 | stackoverflow | DATA_ENGINEERING | How to import csv file with double quotes in a string from S3 to Redshift using copy command? | How to import csv file with double quotes in a string from S3 to Redshift using copy command?
I am trying to import a file in csv format from S3 into Redshift. The fail from stl_load_errors is
Invalid quote formatting for CSV . Unfortunately I can't handle the source it comes from, so I am trying to figure it out only... | https://stackoverflow.com/questions/75614314/how-to-import-csv-file-with-double-quotes-in-a-string-from-s3-to-redshift-using | amazon-web-services, amazon-s3, amazon-redshift, etl | 1,677,753,645 |
se_75605755 | stackoverflow | DATA_ENGINEERING | Spring Batch - How to handle an object buffering on the ItemProcessor's level | Spring Batch - How to handle an object buffering on the ItemProcessor's level
I am using a Spring Batch under the hood in my application.
I have a lot of the already written ItemReader(s), ItemWriter(s) and a composite ItemProcessor(s) that allow me to build a Job that contains a chunk steps. All of the components... | https://stackoverflow.com/questions/75605755/spring-batch-how-to-handle-an-object-buffering-on-the-itemprocessors-level | java, spring, spring-boot, spring-batch, etl | 1,677,684,384 |
se_75608765 | stackoverflow | DATA_ENGINEERING | Load large json file (100GB+) in rust | Load large json file (100GB+) in rust
I am looking to load a large json file over 100GB+. The objects in this file aren't static and are almost never the same. I found this crate called nop-json https://crates.io/crates/nop-json/2.0.5. but I was unable to get it to the work in the way that I want. This is my current s... | https://stackoverflow.com/questions/75608765/load-large-json-file-100gb-in-rust | json, rust, etl, large-data, large-files | 1,677,703,215 |
se_75030339 | stackoverflow | DATA_ENGINEERING | SQL Server / SSISDB Jobs suddenly taking longer to complete | SQL Server / SSISDB Jobs suddenly taking longer to complete
Beginning on 12/29/2022, several of our SSISDB packages started taking twice as long to finish their etl. This delays the beginning of our daily reporting for our company.
There are no errors that give much of a clue, and there is nothing out of the ordinary ... | https://stackoverflow.com/questions/75030339/sql-server-ssisdb-jobs-suddenly-taking-longer-to-complete | sql-server, performance, debugging, ssis, etl | 1,673,004,361 |
se_43095410 | stackoverflow | DATA_ENGINEERING | SSIS package fails with error "If 64-bit driver not installed, run in 32-bit mode" | SSIS package fails with error "If 64-bit driver not installed, run in 32-bit mode"
I am receiving the following error when trying to run the package from the Integration Services catalog in SSMS. I changed the 64BitRuntime option to FALSE but it still does not work. The error below is followed by an error th... | https://stackoverflow.com/questions/43095410/ssis-package-fails-with-error-if-64-bit-driver-not-installed-run-in-32-bit-mod | sql-server, ssis, etl | 1,490,795,288 |
se_75592004 | stackoverflow | DATA_ENGINEERING | AWS step functions, pass 1st state output to nth state input? | AWS step functions, pass 1st state output to nth state input?
I am creating a step function for running an ETL job when ever files are uploaded into DB. The step function involves tasks like glue jobs, crawler runs lambdas etc.
I have different clients that upload data to their respective s3 buckets and each client ha... | https://stackoverflow.com/questions/75592004/aws-step-functions-pass-1st-state-output-to-nth-state-input | amazon-web-services, etl, aws-step-functions | 1,677,586,896 |
se_75594802 | stackoverflow | DATA_ENGINEERING | Aws Glue: AnalysisException: Column value#1260 are ambiguous | Aws Glue: AnalysisException: Column value#1260 are ambiguous
I am trying to join two data frames in aws glue v4.0 with multiple conditions. Getting below error. The below code worked on v2.0
Here is join that i am performing
p_df = p_df.alias("p").join(c_map.alias("m"), (p_df.source == c_map.id) & (p_df.p_code == c_ma... | https://stackoverflow.com/questions/75594802/aws-glue-analysisexception-column-value1260-are-ambiguous | pyspark, etl, aws-glue, parquet | 1,677,601,871 |
se_74881089 | stackoverflow | DATA_ENGINEERING | Copy CSV File with Multiline Attribute with Azure Synapse Pipeline | Copy CSV File with Multiline Attribute with Azure Synapse Pipeline
I have a CSV File in the Following format which want to copy from an external share to my datalake:
Test; Text
"1"; "This is a text
which goes on on a second line
and on on a third line"
"2"; "Another Test"
I do now want to load it with a Copy Data Ta... | https://stackoverflow.com/questions/74881089/copy-csv-file-with-multiline-attribute-with-azure-synapse-pipeline | azure, copy, etl, azure-synapse | 1,671,651,978 |
se_3762199 | stackoverflow | DATA_ENGINEERING | ETL using Python | ETL using Python
I am working on a data warehouse and looking for an ETL solution that uses Python.
I have played with SnapLogic as an ETL, but I was wondering if there were any other solutions out there.
This data warehouse is just getting started. Ihave not brought any data over yet. It will easily be over 100 gigs... | https://stackoverflow.com/questions/3762199/etl-using-python | python, data-warehouse, etl | 1,285,085,097 |
se_75584837 | stackoverflow | DATA_ENGINEERING | Pass returned value from a previous Python operator task to another in airflow | Pass returned value from a previous Python operator task to another in airflow
I am a new user to Apache Airflow. I am building a DAG like the following to schedule tasks:
def add():
return 1 + 1
def multiply(a):
return a * 999
dag_args = {
'owner': 'me',
'depends_on_past': False,
'start_date': da... | https://stackoverflow.com/questions/75584837/pass-returned-value-from-a-previous-python-operator-task-to-another-in-airflow | python, python-3.x, airflow, etl, directed-acyclic-graphs | 1,677,526,634 |
se_75508908 | stackoverflow | DATA_ENGINEERING | How to manage concurrent put and delete to Bigtable? | How to manage concurrent put and delete to Bigtable?
I have Apache Beam pipeline that has two branches that will do IO to the same table of Bigtable. One will produce put mutations to Bigtable, second will produce delete mutations.
I can not find solution to solve race condition problem (for example I have two mutatio... | https://stackoverflow.com/questions/75508908/how-to-manage-concurrent-put-and-delete-to-bigtable | google-cloud-platform, etl, google-cloud-dataflow, apache-beam, google-cloud-bigtable | 1,676,893,741 |
se_75566592 | stackoverflow | DATA_ENGINEERING | Is PySpark rollback possible with parquet files | Is PySpark rollback possible with parquet files
I have an ETL pipeline implemented in pyspark. I have implemented change data capture (CDC). Source and destination both are Parquet format tables.
My ETL reads a set of tables from source, processes them and stores the same set of tables in destination with additional c... | https://stackoverflow.com/questions/75566592/is-pyspark-rollback-possible-with-parquet-files | pyspark, data-science, bigdata, etl, parquet | 1,677,340,036 |
se_51623833 | stackoverflow | DATA_ENGINEERING | How to read large JSON file from Amazon S3 using Boto3 | How to read large JSON file from Amazon S3 using Boto3
I am trying to read a JSON file from Amazon S3 and its file size is about 2GB. When I use the method .read(), it gives me MemoryError.
Are there any solutions to this problem? Any help would do, thank you so much! | https://stackoverflow.com/questions/51623833/how-to-read-large-json-file-from-amazon-s3-using-boto3 | json, amazon-s3, etl, boto3 | 1,533,083,798 |
se_75538804 | stackoverflow | DATA_ENGINEERING | AssertionError "assert schema is not None" when trying to write dataframe to local MySQL database using to_sql() | AssertionError "assert schema is not None" when trying to write dataframe to local MySQL database using to_sql()
I have about 2M rows of data in a dataframe and want to write this data to a table (already created code earlier in execution) EXPENDITURES. I am using to_sql() but am getting this error. Below ... | https://stackoverflow.com/questions/75538804/assertionerror-assert-schema-is-not-none-when-trying-to-write-dataframe-to-loc | python, mysql, sql, sqlalchemy, etl | 1,677,105,134 |
se_75553256 | stackoverflow | DATA_ENGINEERING | ORA-12801: error signaled in parallel query server P002, instance 8 ORA-01722: invalid number | ORA-12801: error signaled in parallel query server P002, instance 8 ORA-01722: invalid number
ODI-1228: Task Merge rows-IKM Oracle Merge-Load HVN_S_INVOICE_1 fails on the target connection ADWC_HVNBIIT. Caused By: java.sql.SQLException: ORA-12801: error signaled in parallel query server P002, instance 8 ORA-01722: inv... | https://stackoverflow.com/questions/75553256/ora-12801-error-signaled-in-parallel-query-server-p002-instance-8-ora-01722-i | oracle-database, etl, integrator | 1,677,220,279 |
se_75534077 | stackoverflow | DATA_ENGINEERING | How to automate daily copying files that are being stored in the daily folder using Azure Data Factory | How to automate daily copying files that are being stored in the daily folder using Azure Data Factory
I have a such scenario, in a data lake Gen2 files being generated daily and stored in a folder structure like for example yyyy/mm/dd, my task is picked all all the files from previous day from daily folder merge them... | https://stackoverflow.com/questions/75534077/how-to-automate-daily-copying-files-that-are-being-stored-in-the-daily-folder-us | azure, etl, azure-data-lake, azure-data-factory | 1,677,075,915 |
se_59156679 | stackoverflow | DATA_ENGINEERING | SSIS Script Component Increment variable | SSIS Script Component Increment variable
I am trying to do what seems simple to me, but can't manage to implement it. I want to increment a simple variable in a Data flow Task...
The variable is set in the ReadWriteVariables, there is no output nor input columns.
This is the end-goal (I'll avoid sharing the monstros... | https://stackoverflow.com/questions/59156679/ssis-script-component-increment-variable | c#, ssis, etl | 1,575,374,536 |
se_75518485 | stackoverflow | DATA_ENGINEERING | How to create a Multi purpose Logic app in Azure which serves all email activity? | How to create a Multi purpose Logic app in Azure which serves all email activity?
I am writing a ETL script in Python Azure function where I want to send emails about the job status and process trackability to different owners. I am trying to create a logic app which is more dynamic and serves multipurpose requirement... | https://stackoverflow.com/questions/75518485/how-to-create-a-multi-purpose-logic-app-in-azure-which-serves-all-email-activity | python, azure, azure-functions, etl, azure-logic-apps | 1,676,971,476 |
se_52110054 | stackoverflow | DATA_ENGINEERING | Mitigate Redshift Locks? | Mitigate Redshift Locks?
Hi I am running ETL via Python .
I have simple sql file that I run from Python like
truncate table foo_stg;
insert into foo_stg
(
select blah,blah .... from tables
);
truncate table foo;
insert into foo
(
select * from foo_stg
);
This query sometimes takes lock on table which it does n... | https://stackoverflow.com/questions/52110054/mitigate-redshift-locks | sql, transactions, amazon-redshift, etl, locks | 1,535,698,631 |
se_75475084 | stackoverflow | DATA_ENGINEERING | Connection ADF to cross-tenant Azure SQL DB | Connection ADF to cross-tenant Azure SQL DB
I would like to connect to an Azure SQL Database using my Azure Data Factory. The Azure SQL Database is created on another tenant and has SQL authentication disabled.
Is there another option to connect to this Azure SQL Database than using a Service Principal?
I tried to con... | https://stackoverflow.com/questions/75475084/connection-adf-to-cross-tenant-azure-sql-db | azure, azure-data-factory, etl | 1,676,564,293 |
se_75464060 | stackoverflow | DATA_ENGINEERING | How to extract very nested json without pattern | How to extract very nested json without pattern
I've been trying to normalize a JSON file and wanted a python(pandas) or pyspark script the more generic as possible that can extract data from a very nested mongodb JSON - it comes from a third party API and saved in MongoDB - and return it in a relational dataset so we... | https://stackoverflow.com/questions/75464060/how-to-extract-very-nested-json-without-pattern | python, json, mongodb, pyspark, etl | 1,676,485,846 |
se_75463364 | stackoverflow | DATA_ENGINEERING | ModuleNotFoundError: No module named 'pyathena' when running AWS Glue Job | ModuleNotFoundError: No module named 'pyathena' when running AWS Glue Job
Despite setting the parameter for my Python AWS Glue Job like this:
--additional-python-modules pyathena
I still get the following error when I try and run the job:
ModuleNotFoundError: No module named 'pyathena'
I have also tried th... | https://stackoverflow.com/questions/75463364/modulenotfounderror-no-module-named-pyathena-when-running-aws-glue-job | python, amazon-web-services, etl, aws-glue, pyathena | 1,676,481,759 |
se_75448340 | stackoverflow | DATA_ENGINEERING | Python and ETL: Job and workflow/task mamangent trigger and other concepts | Python and ETL: Job and workflow/task mamangent trigger and other concepts
i am writing a very simple ETL(T) pipline currently:
look at ftp if new csv files exist
if yes than donwload them
Some initial Transformations
bulk insert the individual CSVs into a MS sql DB
Some additional Transformations
There can be alot ... | https://stackoverflow.com/questions/75448340/python-and-etl-job-and-workflow-task-mamangent-trigger-and-other-concepts | python, etl, workflow, pipeline | 1,676,380,252 |
se_75451355 | stackoverflow | DATA_ENGINEERING | SQL: How to create supplemental time-series records "out of thin air" from existing records | SQL: How to create supplemental time-series records "out of thin air" from existing records
Suppose I have a table CUSTEVENTS listing customers active in certain months. I now want to consider a customer as being active even if it was in the prior two months.
Simple example, the data might start as:
MONT... | https://stackoverflow.com/questions/75451355/sql-how-to-create-supplemental-time-series-records-out-of-thin-air-from-exist | sql, etl | 1,676,395,997 |
se_75444294 | stackoverflow | DATA_ENGINEERING | How to backup and maintain a SQL Server table in Azure? | How to backup and maintain a SQL Server table in Azure?
I have created a pipeline in Azure ADF which does ETL to produce a 15GB clean file "Final_Data_2023.csv" in an Azure storage container and this clean file will get copied into SQL Server table dbo.Final_Table.
This process happens every month and next month we wi... | https://stackoverflow.com/questions/75444294/how-to-backup-and-maintain-a-sql-server-table-in-azure | sql-server, azure, database-design, etl | 1,676,357,143 |
se_75438104 | stackoverflow | DATA_ENGINEERING | Does MYSQLDump create temp tables? | Does MYSQLDump create temp tables?
I'm on MySQL 5.7
I have a table that is about 150GB, the storage on the computer is only 200GB.
So I wanted to get rid of data older than 9 months on this table.
So my plan was to take a dump of the table with the where clause. Then truncate the table, and reinsert the dump.
Does cre... | https://stackoverflow.com/questions/75438104/does-mysqldump-create-temp-tables | mysql, etl, mysql-5.7 | 1,676,302,914 |
se_75434673 | stackoverflow | DATA_ENGINEERING | data extraction from oracle source | data extraction from oracle source
I am trying to extract data from oracle source using pyspark.
I am using this code.
from pyspark.sql import SparkSession
spark = SparkSession.builder.appName('Spark_Job').getOrCreate()
driver = 'oracle.jdbc.driver.OracleDriver'
url = 'jdbc:oracle:thin:@XXXXXXXXXXXXXXXXXX/XXX'
user =... | https://stackoverflow.com/questions/75434673/data-extraction-from-oracle-source | oracle-database, pyspark, extract, etl | 1,676,284,156 |
se_75422383 | stackoverflow | DATA_ENGINEERING | SQL Server staging table data type | SQL Server staging table data type
I want to know what data type I should define in a staging SQL Server table when I don't know the exact data type of the source (csv files).
What are the best practices for optimizing resource?
Example:
For text column: varchar(255) or nvarchar(255)?
For date column: date or datetim... | https://stackoverflow.com/questions/75422383/sql-server-staging-table-data-type | sql-server, azure-sql-database, etl, staging-table | 1,676,139,970 |
se_75416856 | stackoverflow | DATA_ENGINEERING | How to test a power bi report? | How to test a power bi report?
Is there any other way I can test a power bi report or any etl things ?
I am a QA who does automation and quality testing for applications and bi reports. So i mostly use sql queries or sometimes python that almost match the dax to test the power bi reports. I am looking for some good re... | https://stackoverflow.com/questions/75416856/how-to-test-a-power-bi-report | testing, automation, powerbi, etl | 1,676,069,725 |
se_75409181 | stackoverflow | DATA_ENGINEERING | SSIS Mapping and Transformation | SSIS Mapping and Transformation
I'm new to building SSIS packages, in fact this is my first package. I need to pull data from one DB view on Azure managed instance to an SQL on prem. I have built out the data flow and all. I'm moving data from a database view into a another database table but the destination table has... | https://stackoverflow.com/questions/75409181/ssis-mapping-and-transformation | sql, ssis, mapping, etl | 1,676,021,559 |
se_75402776 | stackoverflow | DATA_ENGINEERING | Where files from tap are kept in Meltano | Where files from tap are kept in Meltano
I have the following combination of tap/target in Meltano: tap-marketo and target-s3-parquet.
I want to extract data from tap-marketo from data A to date B in the past.
I saw that we can only define start_date and max_export_days.
I have tried to start with start_date A and sto... | https://stackoverflow.com/questions/75402776/where-files-from-tap-are-kept-in-meltano | etl, meltano, singer-io | 1,675,966,343 |
se_68830175 | stackoverflow | DATA_ENGINEERING | Run two procedure in parallel postgresql | Run two procedure in parallel postgresql
I need to run two procedure in parallel once I have entry in audit table. Basically audit table should invoke both the procedure in parallel.
Currently I am using trigger on audit table to invoke procedure which is running sequentially.
Current process: (time constraints)
Exam... | https://stackoverflow.com/questions/68830175/run-two-procedure-in-parallel-postgresql | postgresql, stored-procedures, parallel-processing, etl | 1,629,280,396 |
se_15317929 | stackoverflow | DATA_ENGINEERING | Load contents in text files to sqlite table? | Load contents in text files to sqlite table?
I have simple text files that contain just normal texts.
I was wondering if there is a way to load the text contents to a table in sqlite.
So maybe I could Create table myTable(nameOfText TEXT, contents TEXT);
And then put nameOfText into the first column and contents to t... | https://stackoverflow.com/questions/15317929/load-contents-in-text-files-to-sqlite-table | sqlite, etl | 1,362,879,086 |
se_75371373 | stackoverflow | DATA_ENGINEERING | Azure Datafactory Pipeline query | Azure Datafactory Pipeline query
I have an Azure Data Factory requirement. There are 50 csv files and each file is named like Product, Department, Employee, Sales, etc. Each of these files has a unique number of columns. In Azure SQL Database, I have 50 tables like Product, Department, Employee, Sales, etc. The column... | https://stackoverflow.com/questions/75371373/azure-datafactory-pipeline-query | azure, azure-data-factory, etl, azure-data-lake-gen2 | 1,675,762,394 |
se_63132245 | stackoverflow | DATA_ENGINEERING | AWS glue python import mysql | AWS glue python import mysql
I have successfully run python code in local to access a RDS MySQL instance in AWS by importing the mysql.connector package.
brew unlink mysql
brew install mysql-connector-c
sed -i -e 's/libs="$libs -l "/libs="$libs -lmysqlclient -lssl -lcrypto"/g' /usr/local/Cellar/mysql/8.0.21/bin/mysql_... | https://stackoverflow.com/questions/63132245/aws-glue-python-import-mysql | python, mysql, amazon-web-services, etl, amazon-rds | 1,595,932,874 |
se_75335328 | stackoverflow | DATA_ENGINEERING | Azure Data Factory - replace expression in derived column transformation using Mapping Data Flow | Azure Data Factory - replace expression in derived column transformation using Mapping Data Flow
I am trying to use Azure Data Factory for a Derived column transformation task one of my tasks is mentioned below,
DESCRIPTION_TEXT : UNILEVER GROUP ##### GBR
Remove trailing country code (only when it equals to country) a... | https://stackoverflow.com/questions/75335328/azure-data-factory-replace-expression-in-derived-column-transformation-using-m | azure, etl, derived-column, azure-mapping-data-flow | 1,675,425,067 |
se_75358042 | stackoverflow | DATA_ENGINEERING | JSON to JSON transform using JOLTTransformJSON NiFi | JSON to JSON transform using JOLTTransformJSON NiFi
I am using JOLTTransformJson Processor in Nifi.
My input is:
[
{
"col_name": "time",
"data_type": "timestamp",
"is_nullable": true
},
{
"col_name": "otherData",
"data_type": "string",
"is_nullable": false
}
]
I am using the below spec... | https://stackoverflow.com/questions/75358042/json-to-json-transform-using-jolttransformjson-nifi | json, transform, etl, apache-nifi, jolt | 1,675,665,255 |
se_43513960 | stackoverflow | DATA_ENGINEERING | juliandate to normaldate in redshift | juliandate to normaldate in redshift
I have date like 117106, 117107 in an column which is of numeric type in redshift data base. Understood that the format is in Julian format. I wanted to change it to normal date format like yyyymmdd.
I tried applying the function to the column and it returns the value as below
sel... | https://stackoverflow.com/questions/43513960/juliandate-to-normaldate-in-redshift | amazon-web-services, amazon-redshift, etl | 1,492,676,341 |
se_75307287 | stackoverflow | DATA_ENGINEERING | Dataflow: SDK harness disconnected errors | Dataflow: SDK harness disconnected errors
We have a pipeline to extract embeddings (feature vectors) from images stored in Cloud Storage bucket and insert into a BigQuery table.
We're consistently getting SDK harness sdk-0-1 disconnected. errors when the Dataflow job runs on N1 type VM instances.
Error message from wo... | https://stackoverflow.com/questions/75307287/dataflow-sdk-harness-disconnected-errors | google-cloud-platform, google-compute-engine, etl, google-cloud-dataflow, apache-beam | 1,675,239,691 |
se_75045825 | stackoverflow | DATA_ENGINEERING | Unable to run AWS Glue Crawler due to IAM Permissions | Unable to run AWS Glue Crawler due to IAM Permissions
I am unable to run newly created AWS Glue Crawler. I followed IAM Role guide at https://docs.aws.amazon.com/glue/latest/dg/create-an-iam-role.html?icmpid=docs_glue_console
Created new Crawler Role AWSGlueServiceRoleDefault with AWSGlueServiceRole and AmazonS3FullA... | https://stackoverflow.com/questions/75045825/unable-to-run-aws-glue-crawler-due-to-iam-permissions | amazon-web-services, etl, amazon-iam, aws-glue | 1,673,157,858 |
se_75289915 | stackoverflow | DATA_ENGINEERING | How do I conditionally update keys and values in a Clojure map based on the key name? | How do I conditionally update keys and values in a Clojure map based on the key name?
I have a map and the keys are strings. If the key contains the word "kg" I want to multiply the value by 2.2 and then replace "kg" with "lb" in the key. I can't figure out how to iterate over the map in a way that I can conditionally... | https://stackoverflow.com/questions/75289915/how-do-i-conditionally-update-keys-and-values-in-a-clojure-map-based-on-the-key | clojure, hashmap, etl | 1,675,111,416 |
se_41758870 | stackoverflow | DATA_ENGINEERING | How to convert result table to JSON array in MySQL | How to convert result table to JSON array in MySQL
I'd like to convert result table to JSON array in MySQL using preferably only plain MySQL commands. For example with query
SELECT name, phone FROM person;
| name | phone |
| Jack | 12345 |
| John | 23455 |
the expected JSON output would be
[
{
"name": "Jack... | https://stackoverflow.com/questions/41758870/how-to-convert-result-table-to-json-array-in-mysql | mysql, json, etl, data-conversion | 1,484,899,831 |
se_74335867 | stackoverflow | DATA_ENGINEERING | Using hardcoded passwords in an ETL process in Azure | Using hardcoded passwords in an ETL process in Azure
I'm just learning so need your advice.
My company is using Data Bricks and Azure DevOps to create an ETL, and all logins and passwords in a configuration or other scripts is hardcoded. The sources are blob storages with excel or CSV's, or hiveDB's. Is this how this ... | https://stackoverflow.com/questions/74335867/using-hardcoded-passwords-in-an-etl-process-in-azure | azure, security, passwords, etl | 1,667,737,849 |
se_75263859 | stackoverflow | DATA_ENGINEERING | Python define function not returning output for a basic ETL with Airflow deployed | Python define function not returning output for a basic ETL with Airflow deployed
I'm trying out Airflow with a basic ETL, I've put the .py in dags folder and hit up my docker composer, looking at the logs in Airflow it says "FileNotFoundError: [Errno 2] No such file or directory: 'Data.csv'".
ETLwithDBAirflow.py
impo... | https://stackoverflow.com/questions/75263859/python-define-function-not-returning-output-for-a-basic-etl-with-airflow-deploye | python, function, airflow, etl | 1,674,857,887 |
se_75262637 | stackoverflow | DATA_ENGINEERING | Implementing scd2 in dbt using aws redshift, how do I define conditional natural keys? | Implementing scd2 in dbt using aws redshift, how do I define conditional natural keys?
Implementing scd2 in dbt using aws redshift. How do I define conditional natural keys?
unique_id = ['crm_id', 'curr_recrd_flg', 'actve_flg']
I want to provide conditions like curr_recrd_flg = 'Y' and actve_flg = 'Y'
Thanks in advanc... | https://stackoverflow.com/questions/75262637/implementing-scd2-in-dbt-using-aws-redshift-how-do-i-define-conditional-natural | amazon-redshift, etl, dbt | 1,674,848,286 |
se_75229865 | stackoverflow | DATA_ENGINEERING | Python etl process guidelines using pandas and snowflake (possible data load routine?) | Python etl process guidelines using pandas and snowflake (possible data load routine?)
I am new to the python-pandas environment and am looking for general guidance on building an extract, transform, load pipeline using python, pandas, and snowflake. Summary of the what I want to do:
connect to a snowflake database i... | https://stackoverflow.com/questions/75229865/python-etl-process-guidelines-using-pandas-and-snowflake-possible-data-load-rou | python, pandas, dataframe, types, etl | 1,674,622,997 |
se_75233215 | stackoverflow | DATA_ENGINEERING | What NiFi processor should I be using to filter out data from 2 groups and merge back into one? | What NiFi processor should I be using to filter out data from 2 groups and merge back into one?
I'm working on a flow which I documented the idea behind but have run into an issue where I cannot seem to find the processor to handle this.
What is happening is the input port is fed many files which based on data splits ... | https://stackoverflow.com/questions/75233215/what-nifi-processor-should-i-be-using-to-filter-out-data-from-2-groups-and-merge | etl, apache-nifi | 1,674,645,592 |
se_38563544 | stackoverflow | DATA_ENGINEERING | How insert UUID values in PostgreSQL table via Kettle? | How insert UUID values in PostgreSQL table via Kettle?
My Kettle Transformation looks simple. "Table Input --> Table output". In table input block: simple SQL statement which works fine on server.
When i'm trying to insert UUID value to PostgreSQL table via Kettle i have error:
ERROR: column "UUID_Col1" is of type... | https://stackoverflow.com/questions/38563544/how-insert-uuid-values-in-postgresql-table-via-kettle | postgresql, etl, kettle | 1,469,437,286 |
se_74619847 | stackoverflow | DATA_ENGINEERING | Cloud SQL to BigQuery ETL tool | Cloud SQL to BigQuery ETL tool
I have a Cloud SQL instance with hundreds of databases, one for each customer. Each database has the same tables in it, but data only for the specific customer.
What I want to do with it, is transform in various ways so to get an overview table with all of the customers. Unfortunately, I... | https://stackoverflow.com/questions/74619847/cloud-sql-to-bigquery-etl-tool | google-cloud-platform, google-bigquery, etl, google-cloud-dataflow, google-cloud-sql | 1,669,753,159 |
se_75198845 | stackoverflow | DATA_ENGINEERING | Creating txt file using Pentaho | Creating txt file using Pentaho
I'm currently trying to create txt files from all tables in the dbo schema
I have like 200s-300s tables there, so it would takes up too much times to create it manually..
I was thinking for creating a loop.
so as example (using AdventureWorks2019) :
select t.name as table_name
from sys.... | https://stackoverflow.com/questions/75198845/creating-txt-file-using-pentaho | etl, pentaho, pentaho-spoon | 1,674,372,869 |
se_71122409 | stackoverflow | DATA_ENGINEERING | BigQuery ETL and Calculations | BigQuery ETL and Calculations
Please assist? I am pulling in data from Campaign manager as a Google Sheet and than import into Google Bigquery. Problems arise like, wrong data types and numeric values that are not correct(round up or round down). What would be the best way to avoid all of these problems?
Is it better ... | https://stackoverflow.com/questions/71122409/bigquery-etl-and-calculations | types, etl, numeric | 1,644,909,377 |
se_62886213 | stackoverflow | DATA_ENGINEERING | Adding multiple partitioned columns to BigQuery table from SQL query | Adding multiple partitioned columns to BigQuery table from SQL query
I've been trying to add multiple partition columns, to a BigQuery table, but it seems to only take one field, even if I add multiple partition fields in the query parameters.
I'm partitioning by date time and integer range.
It only takes the later of... | https://stackoverflow.com/questions/62886213/adding-multiple-partitioned-columns-to-bigquery-table-from-sql-query | sql, google-bigquery, etl | 1,594,685,842 |
se_75083818 | stackoverflow | DATA_ENGINEERING | etl-process: from python-dataframe to postgres with SQLAlchemy | etl-process: from python-dataframe to postgres with SQLAlchemy
I want to create tables in a Postgres database using Python's SQLAlchemy package and insert data from a dataframe into them. I also want to assign foreign keys and primary keys.
The following code creates the two tables, but in the schema "public" instead ... | https://stackoverflow.com/questions/75083818/etl-process-from-python-dataframe-to-postgres-with-sqlalchemy | python, sqlalchemy, foreign-keys, etl | 1,673,443,715 |
se_75211636 | stackoverflow | DATA_ENGINEERING | Excel online sheet, how to import to SSIS | Excel online sheet, how to import to SSIS
i want to know if a can get a sheet from excel online and import to sql. There is a way to do that? I saw some tools for that but i have to pay it for.
I tried to use python, but i havent any success | https://stackoverflow.com/questions/75211636/excel-online-sheet-how-to-import-to-ssis | python, excel, ssis, etl | 1,674,487,843 |
se_75208096 | stackoverflow | DATA_ENGINEERING | ForEach activity to loop through an SQL parameters table? | ForEach activity to loop through an SQL parameters table?
I'm working on an ETL pipeline in Azure Synapse.
In the previous version I used an Array set as a parameter of the pipeline and it contained JSON objects. For example:
[{"source":{"table":"Address"},"destination {"filename:"Address.parquet"},"source_system":"SQ... | https://stackoverflow.com/questions/75208096/foreach-activity-to-loop-through-an-sql-parameters-table | azure, etl, pipeline, azure-synapse | 1,674,469,091 |
se_74822521 | stackoverflow | DATA_ENGINEERING | Are SSIS properties DefaultBufferMaxRows and DefaultBufferSize relevant for text file imports? | Are SSIS properties DefaultBufferMaxRows and DefaultBufferSize relevant for text file imports?
We use SSIS to import .csv files to SQL Server. DefaultBufferMaxRows and DefaultBufferSize are set to their defaults (10k rows, 10MB)
DefaultBufferMaxRows and DefaultBufferSize can impact loading from a database table becaus... | https://stackoverflow.com/questions/74822521/are-ssis-properties-defaultbuffermaxrows-and-defaultbuffersize-relevant-for-text | sql-server, ssis, etl, ssis-2012, dataflowtask | 1,671,182,926 |
se_69793807 | stackoverflow | DATA_ENGINEERING | Is it Possible to Load data to MongoDB Using SSIS? | Is it Possible to Load data to MongoDB Using SSIS?
Is it Possible to Load data to MongoDB Using SSIS? If yes tools required to achieve? Does MongoDB Support all the SQL Operations? | https://stackoverflow.com/questions/69793807/is-it-possible-to-load-data-to-mongodb-using-ssis | sql, sql-server, mongodb, ssis, etl | 1,635,751,873 |
se_71070642 | stackoverflow | DATA_ENGINEERING | Pandas Dataframe: Extract info from specific series | Pandas Dataframe: Extract info from specific series
I have this dataframe which need to extract package info (ML, KG, PZA, LT, UN, etc) from description column, and i'm pretty new at pandas.
This is the dataframe right now
SKU
Description
1
TRIDENT 6S SANDIA 9GR
2
CANAST RABBIT F1 A 1UN
3
HAND SOAP VITAMIN... | https://stackoverflow.com/questions/71070642/pandas-dataframe-extract-info-from-specific-series | python, pandas, dataframe, etl, data-cleaning | 1,644,518,763 |
se_75161670 | stackoverflow | DATA_ENGINEERING | DWH primary key conflict between staging tables and DWH tables | DWH primary key conflict between staging tables and DWH tables
I am building a DWH based on data I am collecting from an ERP API.
currently, I am fetching the data from the API based on an incremental mechanism I built using python: The python script fetches all invoices whose last modified date is in the last 24 hour... | https://stackoverflow.com/questions/75161670/dwh-primary-key-conflict-between-staging-tables-and-dwh-tables | python, etl, data-warehouse | 1,674,056,196 |
se_75191702 | stackoverflow | DATA_ENGINEERING | Converting large CSV(10GB) to excel files | Converting large CSV(10GB) to excel files
Currently working on a process to convert a large csv to specified formats (.txt, .xls, xlsx).
This process will run in a docker container in GCP Cloud Run w/ 8C and 32GB mem
I've tried the dataframe libraries (pandas, dask), that have an method for outputting to different fil... | https://stackoverflow.com/questions/75191702/converting-large-csv10gb-to-excel-files | python, dataframe, csv, etl, google-cloud-run | 1,674,285,024 |
se_75179170 | stackoverflow | DATA_ENGINEERING | PySpark Py4JJavaError from Data Frame Built reading files whose names change during job run | PySpark Py4JJavaError from Data Frame Built reading files whose names change during job run
I am getting the following exception while running a PySpark script in EMR:
py4j.protocol.Py4JJavaError: An error occurred while calling o103.parquet.
This error occurs because the data frame that I am building is based off of... | https://stackoverflow.com/questions/75179170/pyspark-py4jjavaerror-from-data-frame-built-reading-files-whose-names-change-dur | apache-spark, pyspark, etl, amazon-emr | 1,674,169,641 |
se_75158242 | stackoverflow | DATA_ENGINEERING | How to create a table containing a LONG VARCHAR column using Pentaho Spoon? | How to create a table containing a LONG VARCHAR column using Pentaho Spoon?
I need to use a simple Pentaho Spoon transformation to copy a table from MySQL database to OpenLink Virtuoso RDB (Virtuoso Open Source).
The table on MySQL database contains a column typed LONG VARCHAR.
This data type exists in OpenLinkVirtuos... | https://stackoverflow.com/questions/75158242/how-to-create-a-table-containing-a-long-varchar-column-using-pentaho-spoon | database, etl, pentaho-spoon, openlink-virtuoso | 1,674,039,819 |
se_72220997 | stackoverflow | DATA_ENGINEERING | StatusCode":"DFExecutorUserError","Message":"Job failed due to reason: at Source 'x'(Line 1/Col 0) | StatusCode":"DFExecutorUserError","Message":"Job failed due to reason: at Source 'x'(Line 1/Col 0)
I am new to Azure Data Factory and I build my first pipeline but I am having the below error that does not really tells me much? I tried googling it but not much luck...
Operation on... | https://stackoverflow.com/questions/72220997/statuscodedfexecutorusererror-messagejob-failed-due-to-reason-at-source | azure, etl, azure-data-factory | 1,652,382,880 |
se_1314580 | stackoverflow | DATA_ENGINEERING | MapForce vs. Talend Open Studio | MapForce vs. Talend Open Studio
We have been using Talend 3.1 for a few months now. However, we are looking at possibly switching to the latest MapForce. Simply because it compiles to a .Net solution and we are otherwise a .Net house. That being said Talend is extremely easy to use and extend. The Talend jobs make it ... | https://stackoverflow.com/questions/1314580/mapforce-vs-talend-open-studio | etl | 1,250,896,317 |
se_75104655 | stackoverflow | DATA_ENGINEERING | Informatica - Concatenate Max value from each colum present in multiple rows for same Primary Key | Informatica - Concatenate Max value from each colum present in multiple rows for same Primary Key
enter image description here
I have tried traditional approach of using Agg (Group By: ID, Store Name) and Max(Each Object) columns separately.
Then in next expression, Concat(Val1 Val2 Val3 || Val4).
How ever, I'm gett... | https://stackoverflow.com/questions/75104655/informatica-concatenate-max-value-from-each-colum-present-in-multiple-rows-for | etl, informatica, iics | 1,673,581,307 |
se_75091292 | stackoverflow | DATA_ENGINEERING | Dynamically running SQL scripts via ADF | Dynamically running SQL scripts via ADF
Is it possible to run simple select statements dynamically via ADF?
I want to copy tables from source to sink (sql to sql) using ADF. I am using the control table approach to load the data which allows me to dynamically load columns etc. However, for some tables I have where con... | https://stackoverflow.com/questions/75091292/dynamically-running-sql-scripts-via-adf | sql, azure-data-factory, etl | 1,673,494,366 |
se_75078940 | stackoverflow | DATA_ENGINEERING | Updating a column based on another column in SQL Server | Updating a column based on another column in SQL Server
I have a stored procedure that takes values from an ADF pipeline to write watermark values in a SQL Server table. The new watermark value essentially replaces the old one, leaving no record for the old one.
However, my new requirement is to keep the old watermark... | https://stackoverflow.com/questions/75078940/updating-a-column-based-on-another-column-in-sql-server | sql, ssms, etl | 1,673,417,409 |
se_75071811 | stackoverflow | DATA_ENGINEERING | SSIS ETL Population began hanging and now takes twice as long to complete | SSIS ETL Population began hanging and now takes twice as long to complete
Can Someone explain what these codes are and how they might explain why my ETL Duration times have doubled in the last
few weeks?
select collationname(0x0904D00034)
sys.sp_describe_first_result_set;1
Same for these messages, but they are from t... | https://stackoverflow.com/questions/75071811/ssis-etl-population-began-hanging-and-now-takes-twice-as-long-to-complete | sql-server, debugging, etl, sql-server-agent, ssms-17 | 1,673,362,656 |
se_75069824 | stackoverflow | DATA_ENGINEERING | Multiple datasets (sources) in the same DBT project | Multiple datasets (sources) in the same DBT project
I am new to DBT and I am facing a design challenge. The thing is I have 20+ data integrations. Each integration is feeding data into one Postgres DB. The Postgres DB has several tables for example integration_1_assets, integration_2_assets. These tables are all for a... | https://stackoverflow.com/questions/75069824/multiple-datasets-sources-in-the-same-dbt-project | postgresql, etl, dbt | 1,673,352,902 |
se_75061917 | stackoverflow | DATA_ENGINEERING | Azure Data Factory ETL Process | Azure Data Factory ETL Process
I would like to merge data from different data sources (ERP system, Excel files) with the ADF and make it available in an AzureSQLDB for further analyzing.
I'm not sure where and when I do the transformations and joins between the tables. Can I run all of this directly in the pipeline an... | https://stackoverflow.com/questions/75061917/azure-data-factory-etl-process | azure, azure-sql-database, azure-data-factory, etl | 1,673,291,445 |
se_75066844 | stackoverflow | DATA_ENGINEERING | Sanitizing strings with several types of quotation marks | Sanitizing strings with several types of quotation marks
Working on a side-project which aggregates data from various websites, sanitizes the input data, then stores it in postgres.
Currently, I have to implement my own solutions for sanitizing dirty/ugly data, which hasn't been too bad but I've run into an issue with... | https://stackoverflow.com/questions/75066844/sanitizing-strings-with-several-types-of-quotation-marks | javascript, regex, web-scraping, puppeteer, etl | 1,673,336,461 |
se_75058863 | stackoverflow | DATA_ENGINEERING | Migrating on-premises Python ETL scripts that feed a Splunk Forwarder from a syslog box to AWS? | Migrating on-premises Python ETL scripts that feed a Splunk Forwarder from a syslog box to AWS?
I've been asked to migrate on-premises Python ETL scripts that live on a syslog box over to AWS. These scripts run as cron-jobs and output logs that a Splunk Forwarder parses and sends to our Splunk instance for indexing.
M... | https://stackoverflow.com/questions/75058863/migrating-on-premises-python-etl-scripts-that-feed-a-splunk-forwarder-from-a-sys | amazon-web-services, security, aws-lambda, etl, ecs-taskdefinition | 1,673,275,172 |
se_75056090 | stackoverflow | DATA_ENGINEERING | Discrepancy in Oracle table ETL processing duration into Data Warehouse – possible reasons with data or table structure? | Discrepancy in Oracle table ETL processing duration into Data Warehouse – possible reasons with data or table structure?
We’ve 3 tables in our Oracle database that get ETL’d (via SSIS) into our DW environment during out-of-hours.
Table 1 contains 16million rows, 52 columns (~550k used blocks), and reportedly takes jus... | https://stackoverflow.com/questions/75056090/discrepancy-in-oracle-table-etl-processing-duration-into-data-warehouse-possib | oracle-database, etl | 1,673,260,906 |
se_22561459 | stackoverflow | DATA_ENGINEERING | SSIS trigger failure if match found | SSIS trigger failure if match found
I need to prevent loading data into my fact table if any of the incoming data has a [DateId] that already exists in the fact table. The field [DateId] is an integer value.
The Lookup action in SSIS allows you to fail on non-matches, but I actually need a failure if any match is fou... | https://stackoverflow.com/questions/22561459/ssis-trigger-failure-if-match-found | ssis, sql-server-2012, etl | 1,395,411,814 |
se_75034067 | stackoverflow | DATA_ENGINEERING | RESTful data sources ETL to AWS Redshift | RESTful data sources ETL to AWS Redshift
I am at the very beginning of a project where I need to load data from 3 separate SAAS services to a data warehouse on AWS. Each of the 3 SAAS applications offer open RESTful APIs to retrieve data.
The requirement is to extract data from these web services and load to a new dat... | https://stackoverflow.com/questions/75034067/restful-data-sources-etl-to-aws-redshift | amazon-web-services, rest, etl, aws-glue | 1,673,025,257 |
se_75034203 | stackoverflow | DATA_ENGINEERING | How can I read a CSV file from a link and get an average of a column of data using C#? | How can I read a CSV file from a link and get an average of a column of data using C#?
i'm trying to download a csv file from an URL, read it and transform it's data into a visualization via HTML, so basically an ETL-process.
However I'm struggling with averaging the data and getting a result.
I tried checking for ave... | https://stackoverflow.com/questions/75034203/how-can-i-read-a-csv-file-from-a-link-and-get-an-average-of-a-column-of-data-usi | c#, html, csv, etl, average | 1,673,026,144 |
se_16181921 | stackoverflow | DATA_ENGINEERING | DataFlow task in SSIS is very slow as compared to writing the sql query in Execute SQL task | DataFlow task in SSIS is very slow as compared to writing the sql query in Execute SQL task
I am new to SSIS and have a pair of questions
I want to transfer 1,25,000 rows from one table to another in the same database. But When I use Data Flow Task, it is taking too much time. I tried using an ADO NET Destination as... | https://stackoverflow.com/questions/16181921/dataflow-task-in-ssis-is-very-slow-as-compared-to-writing-the-sql-query-in-execu | sql-server, ssis, etl | 1,366,767,164 |
se_29317162 | stackoverflow | DATA_ENGINEERING | What is a staging table? | What is a staging table?
Are staging tables used only in Data warehouse project or in any SSIS Project? I would like to know what is a staging table? Can anyone give me some examples on how to use it and in what circumstances it is implemented?
Also, may I please know the best practices while using it? | https://stackoverflow.com/questions/29317162/what-is-a-staging-table | ssis, etl, data-warehouse, staging-table | 1,427,545,794 |
se_75013757 | stackoverflow | DATA_ENGINEERING | How to update a record in Hive table using Informatica powercenter | How to update a record in Hive table using Informatica powercenter
I'm trying to update a record based on ID field in Hive table using informtica cloud data integration. But the problem is Instead of updating the existing record it is creating new record. Can anyone please suggest better approach | https://stackoverflow.com/questions/75013757/how-to-update-a-record-in-hive-table-using-informatica-powercenter | hive, etl, informatica-powercenter, informatica-cloud, iics | 1,672,891,698 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.