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_73179954 | stackoverflow | DATA_ENGINEERING | Error to create a flow in prefect for python using with and object Flow() | Error to create a flow in prefect for python using with and object Flow()
Hi everyone I was trying to create a flow using prefect for python but I get the error TypeError: 'fn' must be callable, I already install all the packages and I have tried in different IDE like vs code and colab but the result is the same.
the... | https://stackoverflow.com/questions/73179954/error-to-create-a-flow-in-prefect-for-python-using-with-and-object-flow | python, data-science, etl, prefect | 1,659,227,709 |
se_73285599 | stackoverflow | DATA_ENGINEERING | Running Python Scripts on Azure SQL Databases using Elastic Job Agent | Running Python Scripts on Azure SQL Databases using Elastic Job Agent
In the past, my go-to approach for ETL jobs has been writing Python scripts (as Python, unlike many other dedicated ETL tools, brings the full power, rich libraries and customisability a programming language), and then execute these scripts using ex... | https://stackoverflow.com/questions/73285599/running-python-scripts-on-azure-sql-databases-using-elastic-job-agent | python, sql-server, etl, xp-cmdshell | 1,660,008,318 |
se_73284365 | stackoverflow | DATA_ENGINEERING | SSIS Variable Issue --- Get MAX date from a SQL table through SSIS?? (Have it set up and working, but it stores the run date) | SSIS Variable Issue --- Get MAX date from a SQL table through SSIS?? (Have it set up and working, but it stores the run date)
Trying to do something seemingly simple, however, it is not working as expected. It does not error.
I have a table with many rows and dates over the past year. The newest should be like '2022-0... | https://stackoverflow.com/questions/73284365/ssis-variable-issue-get-max-date-from-a-sql-table-through-ssis-have-it-se | sql, sql-server, automation, ssis, etl | 1,659,995,279 |
se_73281570 | stackoverflow | DATA_ENGINEERING | CMD succeeds in Informatica but does not get executed in actual | CMD succeeds in Informatica but does not get executed in actual
I have a CMD task in a workflow.
When I run the workflow it says command executed successfully but nothing happens. The command is supposed to trigger another workflow.
Same CMD task is executing successfully in DEV environment i.e. executing another work... | https://stackoverflow.com/questions/73281570/cmd-succeeds-in-informatica-but-does-not-get-executed-in-actual | powershell, etl, informatica, informatica-powercenter | 1,659,978,044 |
se_73275878 | stackoverflow | DATA_ENGINEERING | How to import all files ( files with deffrent extension CSV, xlsx, xlsm, xls ) in directory using Foreach loop container in SSIS | How to import all files ( files with deffrent extension CSV, xlsx, xlsm, xls ) in directory using Foreach loop container in SSIS
I'm trying to create an SSIS package to process files from a directory that contains many files with different extension and name format (CSV, XLS, XLSX, XLSM), all the files are basically e... | https://stackoverflow.com/questions/73275878/how-to-import-all-files-files-with-deffrent-extension-csv-xlsx-xlsm-xls-i | excel, ssis, etl, integration, foreach-loop-container | 1,659,951,975 |
se_73253073 | stackoverflow | DATA_ENGINEERING | Creating Dynamic Columns in Power Query with Expression Lookups | Creating Dynamic Columns in Power Query with Expression Lookups
I have a Source file that has a set of columns, each of binary type (true, false). I then have a processing (transform) table which has one or more rows, each row specifying a new column to be added to the Source, along with the expression to use to popul... | https://stackoverflow.com/questions/73253073/creating-dynamic-columns-in-power-query-with-expression-lookups | etl, powerquery, dynamic-columns | 1,659,718,518 |
se_56324602 | stackoverflow | DATA_ENGINEERING | parse int to date (tmap ) Talend PostgreSQL | parse int to date (tmap ) Talend PostgreSQL
My job Talend is about mapping between a csv file and a postregresql table.
I need to insert a column date which can be with normal format yyyyMMdd or(0/99999999) in the csv file. So if the date is equal to 0 or 99999999 it's will be mapping as a null variable in the databas... | https://stackoverflow.com/questions/56324602/parse-int-to-date-tmap-talend-postgresql | postgresql, date, parsing, etl, talend | 1,558,954,140 |
se_73245871 | stackoverflow | DATA_ENGINEERING | SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `address` limit 1) | SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `address` limit 1)
In Docker ,I Run my PHP Program (Container 1) which taking data from database (Container 2, Port:3311) >> SUCCESS if i run it locally || But when with Docker the connection refused || I already make connection by database.php and docker B... | https://stackoverflow.com/questions/73245871/sqlstatehy000-2002-connection-refused-sql-select-from-address-limit-1 | php, docker, network-programming, etl | 1,659,682,952 |
se_60837651 | stackoverflow | DATA_ENGINEERING | SCD Type - 2 implementation in IICS (Informatica Cloud) | SCD Type - 2 implementation in IICS (Informatica Cloud)
I am new in IICS. Does anyone please help me implement SCD type 2?Β Or any walk-through tutorial weblink.
Thanks in advance. | https://stackoverflow.com/questions/60837651/scd-type-2-implementation-in-iics-informatica-cloud | cloud, etl, informatica, informatica-cloud | 1,585,076,681 |
se_73126639 | stackoverflow | DATA_ENGINEERING | Spark Repartition Issue | Spark Repartition Issue
Good day everyone,
I'm working with a project where I'm running an ETL process over millions of data records with the aid of Spark (2.4.4) and PySpark.
We're fetching from an S3 bucket in AWS huge compressed CSV files, converting them into Spark Dataframes, using the repartition() method and co... | https://stackoverflow.com/questions/73126639/spark-repartition-issue | python, apache-spark, pyspark, apache-spark-sql, etl | 1,658,851,794 |
se_72887057 | stackoverflow | DATA_ENGINEERING | Azure mapping data flows - insert rows into two sink sequentially | Azure mapping data flows - insert rows into two sink sequentially
I am implementing a data flow in which I need to insert rows into two different sink and both of the sink are Azure SQL database tables.
The first sink i.e. the first Azure SQL database table has an auto generated ID column. After inserting values in th... | https://stackoverflow.com/questions/72887057/azure-mapping-data-flows-insert-rows-into-two-sink-sequentially | azure-sql-database, etl, azure-data-factory, auto-increment, azure-mapping-data-flow | 1,657,125,269 |
se_73203887 | stackoverflow | DATA_ENGINEERING | DAX Alternate function for TOP SQL statement | DAX Alternate function for TOP SQL statement
We use this SQL statement for getting top data value in a column
SELECT TOP 1 NOTE_DETAIL
FROM CLAIM_NOTES
WHERE CLAIM_NO = C.CLAIM_NO AND ISNULL(DELETED, 0) = 0
ORDER BY CREATED_DATE DESC
How we can we use this approach in a DAX query if we want last_note from note det... | https://stackoverflow.com/questions/73203887/dax-alternate-function-for-top-sql-statement | powerbi, dax, etl, business-intelligence, daxstudio | 1,659,426,882 |
se_73197176 | stackoverflow | DATA_ENGINEERING | Effectively load data into Azure Synapse Database | Effectively load data into Azure Synapse Database
I am trying to read data from MySQL database and load it in bulks to Azure Synapse database using pyodbc library and OBDC 18 driver, I've managed to do so but the loading into the Synapse DB step takes a lot of time and I suspect that it is very inefficient, here is my... | https://stackoverflow.com/questions/73197176/effectively-load-data-into-azure-synapse-database | etl, azure-synapse, data-transfer | 1,659,373,253 |
se_42908838 | stackoverflow | DATA_ENGINEERING | How to join two CSVs with Apache Nifi | How to join two CSVs with Apache Nifi
I'm looking into ETL tools (like Talend) and investigating whether Apache Nifi could be used. Could Nifi be used to perform the following:
Pick up two CSV files that are placed on local disk
Join the CSVs on a common column
Write the joined CSV to disk
I've tried setting up a jo... | https://stackoverflow.com/questions/42908838/how-to-join-two-csvs-with-apache-nifi | etl, apache-nifi | 1,490,026,965 |
se_67306195 | stackoverflow | DATA_ENGINEERING | ODI-1228: Task Load data-LKM SQL to Oracle- fails on the target > connection | ODI-1228: Task Load data-LKM SQL to Oracle- fails on the target > connection
I'm working with Oracle Data Integrator inserting information from original source to temp table (BI_DSA.TMP_TABLE)
ODI-1228: Task Load data-LKM SQL to Oracle- fails on the target
connection BI_DSA. Caused By: java.sql.BatchUpdateExceptio... | https://stackoverflow.com/questions/67306195/odi-1228-task-load-data-lkm-sql-to-oracle-fails-on-the-target-connection | oracle-database, plsql, etl, oracle-data-integrator | 1,619,635,669 |
se_73161102 | stackoverflow | DATA_ENGINEERING | Advantage to making temp table out of large reference table used in batched loads? | Advantage to making temp table out of large reference table used in batched loads?
If I am loading data in batches, and, as a part of the loading pipeline, I am joining to a very large reference table to grab some values, is there an advantage to creating a temp table out of that large reference table and using that d... | https://stackoverflow.com/questions/73161102/advantage-to-making-temp-table-out-of-large-reference-table-used-in-batched-load | sql-server, etl | 1,659,062,510 |
se_27899242 | stackoverflow | DATA_ENGINEERING | "m_db unload" command not returning any value in AbInitio | "m_db unload" command not returning any value in AbInitio
I am using m_db command to load the value from a table to a parameter in AbInitio graph.
But its not showing any value. I also run it in Unix but still its not showing any value.
The command is (enclosed in back ticks):
`m_db unload myoracle.dbc ... | https://stackoverflow.com/questions/27899242/m-db-unload-command-not-returning-any-value-in-abinitio | parameters, etl, graphical-programming, ab-initio | 1,421,056,481 |
se_73135434 | stackoverflow | DATA_ENGINEERING | Apache Nifi and cassandra4.0 | Apache Nifi and cassandra4.0
Our company use Cassandra 4.0 as our DWH and we are trying to change our ETL tool to nifi.
But nifi only supports Cassandra 3.0 which Cassandra supports only python 2.7.
Is there any way to use nifi with Cassandra 4.0?
what open source ETL tool would you recommend? | https://stackoverflow.com/questions/73135434/apache-nifi-and-cassandra4-0 | cassandra, etl, apache-nifi, data-warehouse | 1,658,914,132 |
se_73142014 | stackoverflow | DATA_ENGINEERING | GCP Cloud Functions vs Dataflow for ETL from URL to BigQuery | GCP Cloud Functions vs Dataflow for ETL from URL to BigQuery
Am using the following ETL pipeline to get data into BigQuery. Data source are .csv & .xls files from a URL posted daily at 3 pm.
Cloud Scheduler publishes a message to a cloud pub/sub topic at 3:05 pm.
Pub/Sub pushes/triggers the subscribers-cloud functions... | https://stackoverflow.com/questions/73142014/gcp-cloud-functions-vs-dataflow-for-etl-from-url-to-bigquery | google-bigquery, google-cloud-functions, etl, google-cloud-dataflow, google-cloud-pubsub | 1,658,941,589 |
se_73059318 | stackoverflow | DATA_ENGINEERING | Any suggestions on logging ETL processes? | Any suggestions on logging ETL processes?
I need to create logging for ETL processes and a typical process looks something like this..
File arrives on the SFTP server creates a trigger that moves the file and run SQL Agent job. SQL Agent jobs contains multiple steps like run stored procedures and SSIS packages(which c... | https://stackoverflow.com/questions/73059318/any-suggestions-on-logging-etl-processes | sql-server, database, logging, ssis, etl | 1,658,361,663 |
se_73118176 | stackoverflow | DATA_ENGINEERING | Pick up errors from multiple columns in a row in SSIS Data Conversion error output | Pick up errors from multiple columns in a row in SSIS Data Conversion error output
I wish to capture data conversion errors using the error output of a data conversion transform and send them to a row count.
The issue is, if there is an error in multiple columns in the same row, I only get the error column number for ... | https://stackoverflow.com/questions/73118176/pick-up-errors-from-multiple-columns-in-a-row-in-ssis-data-conversion-error-outp | ssis, etl | 1,658,813,929 |
se_73130282 | stackoverflow | DATA_ENGINEERING | Create duplicate values for missing Versions | Create duplicate values for missing Versions
I have a table as below
contact|version|col1|col2|col3
1 | 1 |abc | 57 | X2
4 | 4 |def | 59 | X3
5 | 5 |xyz | 56 | X4
7 | 7 |plo | 58 | X5
So I have version 1,4,5 and 7 but not versions 2,3 and 6. So for all the missing versions I want t... | https://stackoverflow.com/questions/73130282/create-duplicate-values-for-missing-versions | sql, etl, snowflake-schema | 1,658,873,463 |
se_73126083 | stackoverflow | DATA_ENGINEERING | Is there a way to manually set upstream tasks in prefect core 1? | Is there a way to manually set upstream tasks in prefect core 1?
I have a task that ensures some log files are empty (task4 below), but with my current flow it is running first as a root task even when I built logic into try to run it last:
with Flow('Pipeline') as flow:
bool1 = task1.run()
bool2 = task2.run()... | https://stackoverflow.com/questions/73126083/is-there-a-way-to-manually-set-upstream-tasks-in-prefect-core-1 | python, etl, prefect | 1,658,849,183 |
se_73104627 | stackoverflow | DATA_ENGINEERING | Extract and Parse Huge incomplete JSON in NodeJS | Extract and Parse Huge incomplete JSON in NodeJS
Imagine a scenario where I have a huge JSON file on a Github gist. That JSON is an array of object and it has 30k+ lines. Now I want to perform ETL(Extract, Transform, Load) those data directly from Github gist to my database. Unfortunately, the last object of that JSON... | https://stackoverflow.com/questions/73104627/extract-and-parse-huge-incomplete-json-in-nodejs | javascript, node.js, json, etl | 1,658,729,093 |
se_72476214 | stackoverflow | DATA_ENGINEERING | SEQUENCE AB INITIO | SEQUENCE AB INITIO
I want to create a field "folio" that is a sequence type:
seq-1
seq-2
..
seq-n
and that each time I execute my work that page starts from the last one before
seq-n+1
seq-n+2
..
etc. I used "seq- + next_in_sequence()" but I can't get it to continue on the next execution, otherwise it restarts again... | https://stackoverflow.com/questions/72476214/sequence-ab-initio | sequence, etl, ab-initio | 1,654,172,548 |
se_72379280 | stackoverflow | DATA_ENGINEERING | AWS Glue ETL Job Missing collection name | AWS Glue ETL Job Missing collection name
I have data catalog tables generated by crawlers one is data source from mongodb, and second is datasource Postgres sql (rds). Crawlers running successfully & connections test working.
I am trying to define an ETL job from mongodb to postgres sql (simple transform).
In the job ... | https://stackoverflow.com/questions/72379280/aws-glue-etl-job-missing-collection-name | mongodb, etl, aws-glue | 1,653,488,134 |
se_45334139 | stackoverflow | DATA_ENGINEERING | spark scala rdd/dataframe save filtered and rejected data | spark scala rdd/dataframe save filtered and rejected data
I have a file like this:
id,insert_date,name
====================
1,20170620,abc
2,20170620,xyz
1,20170621,pqr
3,20170624,huy
,20170624,stu
I need to filter out the records with null ids. Also if any id is repeating, I need to select the record with max(inse... | https://stackoverflow.com/questions/45334139/spark-scala-rdd-dataframe-save-filtered-and-rejected-data | scala, apache-spark, etl | 1,501,091,341 |
se_73063033 | stackoverflow | DATA_ENGINEERING | "An invalid character was found in text content. ;" when executing SSIS from SQL server 2016 | "An invalid character was found in text content. ;" when executing SSIS from SQL server 2016
I am executing the package from my machine without any issues. But when I deploy it on the server I am getting the following error in the very beginning of the execution:
"An invalid character was found in text cont... | https://stackoverflow.com/questions/73063033/an-invalid-character-was-found-in-text-content-when-executing-ssis-from-sql | c#, sql-server, ssis, etl | 1,658,392,367 |
se_72972133 | stackoverflow | DATA_ENGINEERING | renaming files in a nested directory with azure data factory | renaming files in a nested directory with azure data factory
I have a daily export set up for several subscriptions - the files export like so
with 7 different directories within daily -- i'm simply trying to rename the files to get rid of the underscore for data flows
my parent pipeline looks like so
get metadata g... | https://stackoverflow.com/questions/72972133/renaming-files-in-a-nested-directory-with-azure-data-factory | azure, etl, azure-data-factory | 1,657,743,391 |
se_73050642 | stackoverflow | DATA_ENGINEERING | How to merge tables that don't have the same columns in Talend | How to merge tables that don't have the same columns in Talend
For a project I'm using Talend, and I have 5 tables that have almost the same columns. But some of the tables have extra columns specific to the table
For the moment I've been using tUnite to merge table that have the same columns
I would like to keep ... | https://stackoverflow.com/questions/73050642/how-to-merge-tables-that-dont-have-the-same-columns-in-talend | sql, etl, talend | 1,658,315,628 |
se_73049090 | stackoverflow | DATA_ENGINEERING | SQL for append rows based on max date | SQL for append rows based on max date
This is more of a logic question as I am having a hard time wrapping my head around it.
Say I have table 1 that is truncated and populated everyday, and a time stamp column is added onto it. Everyday new records would be added to the table.
That table 1 is copied to table 2 initia... | https://stackoverflow.com/questions/73049090/sql-for-append-rows-based-on-max-date | sql, database, snowflake-cloud-data-platform, etl, pipeline | 1,658,309,308 |
se_73044393 | stackoverflow | DATA_ENGINEERING | Merging 2 tables from two different datasets SQL Using Google BigQuery | Merging 2 tables from two different datasets SQL Using Google BigQuery
Doing a project and have been stuck.
The two datasets are called mimic3_demo (c) and mimic3_demo_omop (m).
I need to merge one table from c to one table from m. The first table from dataset c is PATIENTS and the second table from dataset m is condi... | https://stackoverflow.com/questions/73044393/merging-2-tables-from-two-different-datasets-sql-using-google-bigquery | sql, etl | 1,658,272,501 |
se_73035506 | stackoverflow | DATA_ENGINEERING | Can runtime package parameters for child packages be retrieved from SSISDB? | Can runtime package parameters for child packages be retrieved from SSISDB?
Is there a way to retrieve the run-time package parameters used from an execution of a child package?
Deployment model is SSIDB (SQL 2017). These child packages run from a master package (ExecutePackage tasks), with values passed from the mas... | https://stackoverflow.com/questions/73035506/can-runtime-package-parameters-for-child-packages-be-retrieved-from-ssisdb | ssis, etl | 1,658,227,486 |
se_66905072 | stackoverflow | DATA_ENGINEERING | Get and MD5 hash of an UTF-8 encoded string in SQL Server | Get and MD5 hash of an UTF-8 encoded string in SQL Server
As far as I understand SQL Server offers two datatypes for storing strings - VARCHAR for 8-bit ISO encodings and NVARCHAR for UTF-16. The problem is that I need to retrieve the MD5 of an UTF-8 encoded string just with a SELECT.
This is required so I don't read ... | https://stackoverflow.com/questions/66905072/get-and-md5-hash-of-an-utf-8-encoded-string-in-sql-server | sql, sql-server, encoding, utf-8, etl | 1,617,282,209 |
se_72989539 | stackoverflow | DATA_ENGINEERING | Database (Azure or Oracle) - Most efficient accurate way of detecting incremental changes? | Database (Azure or Oracle) - Most efficient accurate way of detecting incremental changes?
So in the past for our ETL processes we used to do a column by column lookup and comparison. This way worked for us for a while and no one bothered to go back to take a look at how to make it more efficient.
Recently we noticed ... | https://stackoverflow.com/questions/72989539/database-azure-or-oracle-most-efficient-accurate-way-of-detecting-incrementa | sql, database, oracle-database, azure, etl | 1,657,864,085 |
se_72967040 | stackoverflow | DATA_ENGINEERING | Detect the file format [Pentaho] | Detect the file format [Pentaho]
I have two types of files with 2 types of column formats.
I would like to take input of different files of 2 formats and detect the format of each of the files, in order to send them on 2 data tables depending on the format.
To detect these two formats, you have to read the first line ... | https://stackoverflow.com/questions/72967040/detect-the-file-format-pentaho | etl, pentaho | 1,657,718,438 |
se_72954296 | stackoverflow | DATA_ENGINEERING | ibm_db.connect string stating error with database name | ibm_db.connect string stating error with database name
I'm running python on a server that will eventually do my ETL and one of the databases that I have to connect to is running Informix (I believe its version 14). I have access to the Informix DB and have an active ODBC connection on a Windows 10 machine that conne... | https://stackoverflow.com/questions/72954296/ibm-db-connect-string-stating-error-with-database-name | python, pandas, etl, informix | 1,657,637,484 |
se_72962007 | stackoverflow | DATA_ENGINEERING | Analysis services processing task editor window disappears when adding object | Analysis services processing task editor window disappears when adding object
I'm using VS 2017 Community on Windows 10 and trying to create a SSIS project to ETL data from a SSAS tabular model into a SQL server database. I've added an Analysis Services Processing Task and have setup a connection for it. When I click ... | https://stackoverflow.com/questions/72962007/analysis-services-processing-task-editor-window-disappears-when-adding-object | ssis, visual-studio-2017, etl, ssas-tabular | 1,657,695,077 |
se_72821325 | stackoverflow | DATA_ENGINEERING | Getting SSIS Error : [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED | Getting SSIS Error : [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED
I am trying to extract data from SageIntacct using CData and loading it into SQL. Currently I am just trying to dump the data into SQL. But I am getting following error:
[CData SageIntacct Source] Error: Column Modulekey has a maxmim l... | https://stackoverflow.com/questions/72821325/getting-ssis-error-ssis-pipeline-error-ssis-error-code-dts-e-primeoutputfai | visual-studio, ssis, etl | 1,656,618,770 |
se_72640123 | stackoverflow | DATA_ENGINEERING | Export a folder of SQL queries into CSV in SSIS | Export a folder of SQL queries into CSV in SSIS
I am a newbie to SSIS and currently struggling with executing SQL task saving the result in a result set and exporting each table to a respective CSV using a data flow task.
There are 15 .sql files stored in a folder which I am creating a variable called FolderPath point... | https://stackoverflow.com/questions/72640123/export-a-folder-of-sql-queries-into-csv-in-ssis | sql-server, ssis, etl, pipeline | 1,655,349,948 |
se_72791583 | stackoverflow | DATA_ENGINEERING | How to validate CDC data pipeline? | How to validate CDC data pipeline?
We have a MongoDB from which we consume CDC stream using custom python code. The CDC stream is dumped as files which is further consumed by spark which runs SQL on the files and dumps the result set into Kafka.
Questions:
how do you make sure there is no data loss in the pipeline
ev... | https://stackoverflow.com/questions/72791583/how-to-validate-cdc-data-pipeline | etl, pipeline, cdc | 1,656,441,392 |
se_57256914 | stackoverflow | DATA_ENGINEERING | Change date format M/d/yyy hh:mm:ss to yyyy-MM-dd using expression | Change date format M/d/yyy hh:mm:ss to yyyy-MM-dd using expression
Hi I have one doubt in ssis
I want change date format M/d/yyy hh:mm:ss to yyyy-MM-dd using ssis expression and DateFormat variable datatype is string and getting format like 5/28/2019 12:00:00 AM. Data comes like below:
5/28/2019 12:00:00 AM
... | https://stackoverflow.com/questions/57256914/change-date-format-m-d-yyy-hhmmss-to-yyyy-mm-dd-using-expression | sql-server, datetime, ssis, etl, ssis-2012 | 1,564,413,870 |
se_72211535 | stackoverflow | DATA_ENGINEERING | Camunda as scheduler and orchestrator of data-pipeline / ETL | Camunda as scheduler and orchestrator of data-pipeline / ETL
I would like to know if anyone implemented Camunda as scheduler and orchestrator of data pipelines/ETL and can share his experience.
What are the pros and cons of using it instead of Airflow for example?
Thanks! | https://stackoverflow.com/questions/72211535/camunda-as-scheduler-and-orchestrator-of-data-pipeline-etl | airflow, etl, camunda, data-pipeline | 1,652,340,101 |
se_72746014 | stackoverflow | DATA_ENGINEERING | Special character conversion Informatica | Special character conversion Informatica
I've got a question.
How may I import special characters? I need to import data to sqlServer, this data contains Chinese and Japanese characters. What query should I make in the Informatica to handle this case? Because in the target table I see that all the special characters a... | https://stackoverflow.com/questions/72746014/special-character-conversion-informatica | etl, informatica, informatica-powercenter, informatica-data-integration-hub | 1,656,083,025 |
se_72825624 | stackoverflow | DATA_ENGINEERING | Talend - Transfer multiple tables between two servers without dynamic schema | Talend - Transfer multiple tables between two servers without dynamic schema
I have to create a job that transfers multiple tables across servers incrementally or entire table. But I cant get to do it despite trying various component combinations. Please suggest solution other than dynamic schema. I know it can be don... | https://stackoverflow.com/questions/72825624/talend-transfer-multiple-tables-between-two-servers-without-dynamic-schema | mysql, etl, talend | 1,656,659,782 |
se_47211878 | stackoverflow | DATA_ENGINEERING | SSIS Excel File issue - Failure creating file | SSIS Excel File issue - Failure creating file
I have SSIS package that grabs excel file and load it to sql table .i get the following error when i run it. I have tried to make run on 64 bit to false. That did not work
i also have installed 64 bit access driver engin . That did not help either.
Error at Data Flow... | https://stackoverflow.com/questions/47211878/ssis-excel-file-issue-failure-creating-file | sql-server, excel, ssis, etl, ssis-2012 | 1,510,262,994 |
se_72821605 | stackoverflow | DATA_ENGINEERING | Added a Column to a Table Which is a Target For Multiple Maps. How can I get the new column into informatica without re-importing? | Added a Column to a Table Which is a Target For Multiple Maps. How can I get the new column into informatica without re-importing?
I am adding a column to a table in my database. This table is a target which is used by multiple mappings. The targets don't automatically update when you add columns in your database, so ... | https://stackoverflow.com/questions/72821605/added-a-column-to-a-table-which-is-a-target-for-multiple-maps-how-can-i-get-the | sql, database, oracle-database, etl, informatica | 1,656,620,562 |
se_72815911 | stackoverflow | DATA_ENGINEERING | Azure Data Factory (ETL) from MongoDB to Azure Synapse Anlytics - Date Conversion | Azure Data Factory (ETL) from MongoDB to Azure Synapse Anlytics - Date Conversion
I am building ETL pipeline using Azure DataFactory from MongoDB to Azure Synapse Anlytics.
This is my sample document
{
"_id" : ObjectId("62b6f74ce3a7b8ee664c675d"),
"event_name" : "click_search",
"screen_name" : "home",
... | https://stackoverflow.com/questions/72815911/azure-data-factory-etl-from-mongodb-to-azure-synapse-anlytics-date-conversio | mongodb, azure, etl, azure-data-factory, azure-synapse | 1,656,592,325 |
se_72689002 | stackoverflow | DATA_ENGINEERING | Δ°s it possible to create data pipeline with Google Cloud Data fusion using multiple database tables Update or Upsert? | Δ°s it possible to create data pipeline with Google Cloud Data fusion using multiple database tables Update or Upsert?
After using multiple database tables plugin and load data to bigquery I would like to make incremental load for every table in one data pipeline.
I wonder if I can use UPSERT on multiple database table... | https://stackoverflow.com/questions/72689002/%c4%b0s-it-possible-to-create-data-pipeline-with-google-cloud-data-fusion-using-multi | cloud, etl, google-cloud-data-fusion, data-pipeline | 1,655,736,900 |
se_72793457 | stackoverflow | DATA_ENGINEERING | Using multiple schemas in dbt Cloud based on postgresql instance | Using multiple schemas in dbt Cloud based on postgresql instance
I am using dbt Cloud to complete the tutorial to learn more about the tool. I'm using Postgresql because I don't have any access to the paid tools that are heavily supported.
I have orders and customers in the jaffle_shop schema and payment in the strip... | https://stackoverflow.com/questions/72793457/using-multiple-schemas-in-dbt-cloud-based-on-postgresql-instance | postgresql, schema, etl, dbt | 1,656,452,630 |
se_65170770 | stackoverflow | DATA_ENGINEERING | SSIS-SQL Deployment | SSIS-SQL Deployment
I have a SSIS package. It contains some tasks that include Turkish characters, also in the Data Flow Task some SQL queries include Turkish characters in where clause.
When I execute the package manually on Visual Studio, it works fine but after deployment to SQL Server and run it via job, it works ... | https://stackoverflow.com/questions/65170770/ssis-sql-deployment | sql-server, ssis, integration, etl | 1,607,274,425 |
se_68760285 | stackoverflow | DATA_ENGINEERING | How to retrieve subfolders and files from a folder in S3 bucket using boto3? | How to retrieve subfolders and files from a folder in S3 bucket using boto3?
as I am quite new to loading from AWS S3 bucket i am facing some difficulties to query data from subfolders here is the steps and bucket description:
Countries S3 bucket
subfolder for every extraction time e.g(2021-08-12 , 2021-08-11 ,...)
... | https://stackoverflow.com/questions/68760285/how-to-retrieve-subfolders-and-files-from-a-folder-in-s3-bucket-using-boto3 | python, amazon-web-services, amazon-s3, boto3, etl | 1,628,782,137 |
se_70388009 | stackoverflow | DATA_ENGINEERING | when log4j have a big bug,how to change it in Kettle8.3? | when log4j have a big bug,how to change it in Kettle8.3?
My kettle is v8.3,log4j version is 1.2.14
How to update log4j to 2.15? | https://stackoverflow.com/questions/70388009/when-log4j-have-a-big-bug-how-to-change-it-in-kettle8-3 | etl, kettle | 1,639,710,839 |
se_72785750 | stackoverflow | DATA_ENGINEERING | Getting error "Resources exceeded during query execution" in bigquery | Getting error "Resources exceeded during query execution" in bigquery
I have a table in Bigquery and I am applying following transformation
SELECT *,
CASE WHEN type = 'Monthly' THEN DATE_TRUNC(dt, MONTH) ELSE FIRST_VALUE(DATE_TRUNC(program_end_date, MONTH)) OVER (PARTITION BY id ORDER BY dt DESC) ... | https://stackoverflow.com/questions/72785750/getting-error-resources-exceeded-during-query-execution-in-bigquery | sql, google-cloud-platform, google-bigquery, etl | 1,656,416,445 |
se_72768112 | stackoverflow | DATA_ENGINEERING | How do I migrate data from a db2 backup file to ms sql server database? | How do I migrate data from a db2 backup file to ms sql server database?
I have a db2 backup file and a windows environment with sql server 2019. I need to migrate the data from db2 to sql server. I went through various solutions and all requires connection to IBM Iseries system.
Is there any way to achieve this withou... | https://stackoverflow.com/questions/72768112/how-do-i-migrate-data-from-a-db2-backup-file-to-ms-sql-server-database | ssis, db2, etl, iseries-navigator | 1,656,313,404 |
se_69953783 | stackoverflow | DATA_ENGINEERING | Cyclic Workflow in Data Comparison Process | Cyclic Workflow in Data Comparison Process
I am searching for a solution to automatize an iterative data comparison process until all data packages are consistent. My general guess is to use something like Apache Airflow, but the iterative nature seem to be a cyclic graph. Apache airflow only allows DAGs (directed acy... | https://stackoverflow.com/questions/69953783/cyclic-workflow-in-data-comparison-process | airflow, etl | 1,636,802,705 |
se_72769179 | stackoverflow | DATA_ENGINEERING | How to deal with late data while retrieving real-time bitcoin price with finnhub.io websocket API | How to deal with late data while retrieving real-time bitcoin price with finnhub.io websocket API
I have to stream real-time Bitcoin information from finnhub.io API.
At the end of each minute period I have to print out the volume weighted average price.
The problem I face is that I don't really know how to deal with t... | https://stackoverflow.com/questions/72769179/how-to-deal-with-late-data-while-retrieving-real-time-bitcoin-price-with-finnhub | python, websocket, streaming, etl, finnhub | 1,656,318,914 |
se_34947690 | stackoverflow | DATA_ENGINEERING | SSIS ERROR: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020 | SSIS ERROR: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020
I have problems with SSIS process(acctually the same problem occurs for two different processes). So, we are doing some ETL work using SSIS. We have Business Intelligence project that executes without errors from Visual... | https://stackoverflow.com/questions/34947690/ssis-error-the-attempt-to-add-a-row-to-the-data-flow-task-buffer-failed-with-er | sql, sql-server, ssis, etl, business-intelligence | 1,453,468,756 |
se_72735348 | stackoverflow | DATA_ENGINEERING | Better way to INSERT/UPDATE a Customer table from a Key/Value style Property table? | Better way to INSERT/UPDATE a Customer table from a Key/Value style Property table?
I have a customer master table called Customer. Everything in this table comes from a key/value style table called Cust_Property.
The Cust_Property table has 3 columns:
CustomerID, Property, Value
The Property column may contain First... | https://stackoverflow.com/questions/72735348/better-way-to-insert-update-a-customer-table-from-a-key-value-style-property-tab | sql, sql-server, etl, dml | 1,656,010,950 |
se_72730242 | stackoverflow | DATA_ENGINEERING | Multiple field names | Multiple field names
I have a txt file, which I have to insert into a database.
My problem is that in some files I have header "customer_" instead of "customer".
I donβt know how to fix this in Pentaho. Iβve tried "select values" but I have no idea how it works.
My transformation for now : get file names -> csv file i... | https://stackoverflow.com/questions/72730242/multiple-field-names | etl, pentaho, pentaho-data-integration | 1,655,987,607 |
se_65579777 | stackoverflow | DATA_ENGINEERING | Get top 3 IDs with highest amount using window calculation in matillion etl | Get top 3 IDs with highest amount using window calculation in matillion etl
I have a table that looks like this:
id
name
amount
1
jesse
192$
2
sam
123$
3
steve
345$
4
josh
234$
5
hamish
452$
6
john
211$
7
watson
111$
8
amir
143$
9
riaz
311$
10
panag
139$
Now, I want the id's of the top 3 ... | https://stackoverflow.com/questions/65579777/get-top-3-ids-with-highest-amount-using-window-calculation-in-matillion-etl | etl, snowflake-cloud-data-platform, matillion | 1,609,853,012 |
se_71229129 | stackoverflow | DATA_ENGINEERING | SSIS Exporting to Flat File Destination (CSV) - Custom Property EscapeQualifier Not Working (Undocumented?) | SSIS Exporting to Flat File Destination (CSV) - Custom Property EscapeQualifier Not Working (Undocumented?)
Many questions have been asked on this topic, but I can't find anything specifically addressing what I see in Visual Studio 2017 (SSDT). A Custom Property named "EscapeQualifier" exists for a flat-file destinati... | https://stackoverflow.com/questions/71229129/ssis-exporting-to-flat-file-destination-csv-custom-property-escapequalifier | csv, ssis, etl, export-to-csv, flat-file | 1,645,569,072 |
se_72675686 | stackoverflow | DATA_ENGINEERING | Spark daily ETL job - how to determine records to load for a particular run? | Spark daily ETL job - how to determine records to load for a particular run?
I'm writing a simple Spark job to load daily snapshots from a SQL table and dump the results into a delta table (S3).
What is the established pattern to determine what records need to be loaded on a particular run? Do we query the delta lake ... | https://stackoverflow.com/questions/72675686/spark-daily-etl-job-how-to-determine-records-to-load-for-a-particular-run | apache-spark, pyspark, etl, delta-lake | 1,655,630,721 |
se_72658149 | stackoverflow | DATA_ENGINEERING | Apache Camel - Array of key/pair lines to object | Apache Camel - Array of key/pair lines to object
I have a TXT file with user data separated by blank lines
Name : Daniele
City : Genoa
Country : Italy
Name : Giada
City : Milan
Country : Italy
I'm trying to convert that in POJO and eventually in CSV.
My route at the moment is like :
from("file://data/input")
.sp... | https://stackoverflow.com/questions/72658149/apache-camel-array-of-key-pair-lines-to-object | apache-camel, etl, txt | 1,655,462,768 |
se_72616113 | stackoverflow | DATA_ENGINEERING | Issue in reading paginated API data using ADF | Issue in reading paginated API data using ADF
I am trying to read the data from a paginated API using ADF copy activity. While accessing the API at first time, only the base URL is used(without any query params). When API returns the data, it will have a key called cursor with some token. This has to be passed as quer... | https://stackoverflow.com/questions/72616113/issue-in-reading-paginated-api-data-using-adf | azure, rest, etl, azure-data-factory, genesys | 1,655,205,706 |
se_72649543 | stackoverflow | DATA_ENGINEERING | SSMA unable to convert Date/time in MS Access to Datetime in SQL Server | SSMA unable to convert Date/time in MS Access to Datetime in SQL Server
I'm migrating my Access backend to SQL Server using SSMA. The SSMA is throwing an error when making changes in the mappings. I have the Date/Time field in Access which needs to be DateTime in SQL to work. Now SSMA by default sets mappings of date ... | https://stackoverflow.com/questions/72649543/ssma-unable-to-convert-date-time-in-ms-access-to-datetime-in-sql-server | sql-server, ms-access, etl, database-migration | 1,655,399,410 |
se_70429042 | stackoverflow | DATA_ENGINEERING | GCP Cloud Data fusion Error- Spark program 'phase-1' failed with error: canCommit() | GCP Cloud Data fusion Error- Spark program 'phase-1' failed with error: canCommit()
I am receiving following error while executing Data Pipeline in GCP Cloud Data Fusion.
Spark program 'phase-1' failed with error: canCommit() is called for
transaction
More information:
So the Pipeline is responsible for lift... | https://stackoverflow.com/questions/70429042/gcp-cloud-data-fusion-error-spark-program-phase-1-failed-with-error-cancommi | google-cloud-platform, cloud, etl, google-cloud-data-fusion, cdap | 1,640,042,226 |
se_72639467 | stackoverflow | DATA_ENGINEERING | Many-to-many from relational design to dimensional design | Many-to-many from relational design to dimensional design
This is my database design:
I make a data warehouse a with 2 fact table design as you show :
I want to add Order dimension but the problem is that there is bridge table between product table and order table by the way order table contain 830 rows and Order d... | https://stackoverflow.com/questions/72639467/many-to-many-from-relational-design-to-dimensional-design | etl, data-warehouse, star-schema, sql-data-warehouse, star-schema-datawarehouse | 1,655,342,651 |
se_33015415 | stackoverflow | DATA_ENGINEERING | Using IIF statement to prevent records moving over in CSV format | Using IIF statement to prevent records moving over in CSV format
I am currently when using an ETL tool (Clover) to output a table in CSV format.
The ID field is originally inputted like so : "12,13" or "12"
And CVS formats this to 2 separate fields, messing up the entire table.
I am aware that I need to use " " to how... | https://stackoverflow.com/questions/33015415/using-iif-statement-to-prevent-records-moving-over-in-csv-format | sql, csv, etl | 1,444,306,258 |
se_47910539 | stackoverflow | DATA_ENGINEERING | Automatically Escape Quotes in SSIS Export | Automatically Escape Quotes in SSIS Export
I am using SQL Server 2014 with SSIS
I have a data set like this:
ID Name Status
1 Awesome "Store" Active
2 Market, Place Active
3 Vendor Active
In SSMS, when the results are in the grid and I right click and choose save results as... | https://stackoverflow.com/questions/47910539/automatically-escape-quotes-in-ssis-export | sql-server, csv, ssis, etl | 1,513,787,458 |
se_72628353 | stackoverflow | DATA_ENGINEERING | AWS Athena tables automatically appear in AWS Glue console | AWS Athena tables automatically appear in AWS Glue console
I recently found out that there's a restriction on the number of partitions that AWS Athena table may have (20000 at the moment, mentioned here: https://docs.aws.amazon.com/athena/latest/ug/partitions.html).
The same page mentions that AWS Glue tables may have... | https://stackoverflow.com/questions/72628353/aws-athena-tables-automatically-appear-in-aws-glue-console | amazon-web-services, amazon-s3, etl, amazon-athena, aws-glue | 1,655,282,701 |
se_72592807 | stackoverflow | DATA_ENGINEERING | How to add a new column by aggregating values from multiple columns in SSIS | How to add a new column by aggregating values from multiple columns in SSIS
I have an excel file that I imported in SSIS and want to transfer it to SQL server as a new table in the destination DB, the table is shown in the screenshot below:
I want to calculate the Average of Scores for each player as new column as sh... | https://stackoverflow.com/questions/72592807/how-to-add-a-new-column-by-aggregating-values-from-multiple-columns-in-ssis | ssis, etl, data-warehouse | 1,655,041,835 |
se_60482331 | stackoverflow | DATA_ENGINEERING | entity-like or the semantic difference between Spark and Pyspark? | entity-like or the semantic difference between Spark and Pyspark?
Semantically, Spark is a framework.
1/ Pyspark is just a collection of Python-like callers to functions written in Scala?
If I'm defining my own set of functions instead of standard functions like this:
def sum(a,b):
return a+b
def subtract(a,b):
... | https://stackoverflow.com/questions/60482331/entity-like-or-the-semantic-difference-between-spark-and-pyspark | apache-spark, pyspark | 1,583,121,065 |
se_71594432 | stackoverflow | DATA_ENGINEERING | Convert double column to string column using PySpark | Convert double column to string column using PySpark
I have a dataframe with double column (named double).
I want to convert it to StringType().
When casting the column to string, all values of double column turn to NULL.
How can I convert double column to string column?
I'm using Pyspark 2.3
+------------------+----... | https://stackoverflow.com/questions/71594432/convert-double-column-to-string-column-using-pyspark | apache-spark, pyspark, apache-spark-sql, spark-streaming | 1,648,071,930 |
se_70540874 | stackoverflow | DATA_ENGINEERING | ParseException: no viable alternative at input | ParseException: no viable alternative at input
I was trying to run the below query in Azure Databricks.
query=s"""WITH pre_file_user AS(
SELECT id,
typeid,
CASE when dttm is null or dttm='' then cast('1900-01-01 00:00:00.000' as timestamp)
else cast(dttm as timestamp)
... | https://stackoverflow.com/questions/70540874/parseexception-no-viable-alternative-at-input | sql, apache-spark, pyspark, apache-spark-sql, azure-databricks | 1,640,943,135 |
se_31469173 | stackoverflow | DATA_ENGINEERING | Exception after Setting property 'spark.sql.hive.metastore.jars' in 'spark-defaults.conf' | Exception after Setting property 'spark.sql.hive.metastore.jars' in 'spark-defaults.conf'
Given below is the version of Spark & Hive I have installed in my system
Spark : spark-1.4.0-bin-hadoop2.6
Hive : apache-hive-1.0.0-bin
I have configured the Hive installation to use MySQL as Metastore. The ... | https://stackoverflow.com/questions/31469173/exception-after-setting-property-spark-sql-hive-metastore-jars-in-spark-defau | scala, apache-spark, hive, apache-spark-sql | 1,437,112,425 |
se_63662988 | stackoverflow | DATA_ENGINEERING | How to show all tables in all databases in Databricks | How to show all tables in all databases in Databricks
The following can be used to show table in the current schema or a specified schema respectively:
show tables;
show tables in my_schema;
This documented here:
https://docs.databricks.com/spark/latest/spark-sql/language-manual/show-tables.html
Is there a way to sh... | https://stackoverflow.com/questions/63662988/how-to-show-all-tables-in-all-databases-in-databricks | apache-spark, databricks | 1,598,829,309 |
se_28412954 | stackoverflow | DATA_ENGINEERING | reading and writing from hive tables with spark after aggregation | reading and writing from hive tables with spark after aggregation
We have a hive warehouse, and wanted to use spark for various tasks (mainly classification). At times write the results back as a hive table. For example, we wrote the following python function to find the total sum of original_table column two, grouped... | https://stackoverflow.com/questions/28412954/reading-and-writing-from-hive-tables-with-spark-after-aggregation | python, hadoop, hive, apache-spark | 1,423,494,773 |
se_79501249 | stackoverflow | DATA_ENGINEERING | Spark - Timestamp Timezone | Spark - Timestamp Timezone
I have an ETL operation where I am querying a SQLServer with datetimes that are in the America/New_York timezone writing the data to a parquet and ingesting the data into a delta table via spark(spark 3.5 and delta 3.1).
As far as I can tell (reading this ref Databricks blog) the timestamp t... | https://stackoverflow.com/questions/79501249/spark-timestamp-timezone | apache-spark, pyspark, delta-lake | 1,741,706,279 |
se_70999755 | stackoverflow | DATA_ENGINEERING | Error in SQL statement: AnalysisException: Table or view not found: | Error in SQL statement: AnalysisException: Table or view not found:
I write in python but wanted to write something in SQL but there is an error I cannot understand. I cannot see anything wrong in my code. Please help me.
spark.sql("create table happiness_perm as select * from happiness_tmp");
%sql
select Country,... | https://stackoverflow.com/questions/70999755/error-in-sql-statement-analysisexception-table-or-view-not-found | sql, apache-spark, hive, databricks | 1,644,077,524 |
se_59277255 | stackoverflow | DATA_ENGINEERING | Assign a variable a dynamic value in SQL in Databricks / Spark | Assign a variable a dynamic value in SQL in Databricks / Spark
I feel like I must be missing something obvious here, but I can't seem to dynamically set a variable value in Spark SQL.
Let's say I have two tables, tableSrc and tableBuilder, and I'm creating tableDest.
I've been trying variants on
SET myVar FLOAT = NULL... | https://stackoverflow.com/questions/59277255/assign-a-variable-a-dynamic-value-in-sql-in-databricks-spark | apache-spark, apache-spark-sql, databricks | 1,576,023,909 |
se_36199890 | stackoverflow | DATA_ENGINEERING | running a spark submit job as cluster deploy mode fails but passes with client | running a spark submit job as cluster deploy mode fails but passes with client
EDITI: by removing the conf setting in the app for 'setMaster' I'm able to run yarn-cluster successfully - if anyone coudl help with spark master as cluster deploy - that'd be fantastic
I'm trying to set up spark on a local testmachine so ... | https://stackoverflow.com/questions/36199890/running-a-spark-submit-job-as-cluster-deploy-mode-fails-but-passes-with-client | hadoop, amazon-web-services, amazon-s3, apache-spark | 1,458,821,472 |
se_33245529 | stackoverflow | DATA_ENGINEERING | Spark - UbuntuVM - insufficient memory for the Java Runtime Environment | Spark - UbuntuVM - insufficient memory for the Java Runtime Environment
I'm trying to install Spark1.5.1 on Ubuntu14.04 VM. After un-tarring the file, I changed the directory to the extracted folder and executed the command "./bin/pyspark" which should fire up the pyspark shell. But I got an error message as follows:
... | https://stackoverflow.com/questions/33245529/spark-ubuntuvm-insufficient-memory-for-the-java-runtime-environment | apache-spark, ubuntu-14.04, java | 1,445,370,315 |
se_64600595 | stackoverflow | DATA_ENGINEERING | How to read/load local files in Databricks? | How to read/load local files in Databricks?
is there anyway of reading files located in my local machine other than navigating to 'Data'> 'Add Data' on Databricks.
in my past experience using Databricks, when using s3 buckets, I was able to just read and load a dataframe by just specifying the path like so: i.e
df = s... | https://stackoverflow.com/questions/64600595/how-to-read-load-local-files-in-databricks | apache-spark, apache-spark-sql, databricks, azure-databricks, pyspark | 1,604,013,954 |
se_79968338 | stackoverflow | DATA_ENGINEERING | AttributeError: 'GroupedData' object has no attribute 'transformWithState' | AttributeError: 'GroupedData' object has no attribute 'transformWithState'
I'm learning about custom state handlers in pyspark. I followed the documentation at this link. I created the following sample custom state handler. When running in spark 4.0.3 I face the following error
Traceback (most recent c... | https://stackoverflow.com/questions/79968338/attributeerror-groupeddata-object-has-no-attribute-transformwithstate | python, apache-spark | 1,782,479,988 |
se_79983584 | stackoverflow | DATA_ENGINEERING | How to gracefully stop a Spark Structured Streaming query after N batches without ClosedByInterruptException? | How to gracefully stop a Spark Structured Streaming query after N batches without ClosedByInterruptException?
I have a PySpark Structured Streaming application (Spark 2.4, running on CDH 6.3.2) that reads from Kafka. The requirement is to stop the stream after a configurable number of micro-batches (max_batches), then... | https://stackoverflow.com/questions/79983584/how-to-gracefully-stop-a-spark-structured-streaming-query-after-n-batches-withou | apache-spark, pyspark, spark-structured-streaming | 1,784,646,377 |
se_59317416 | stackoverflow | DATA_ENGINEERING | How to list all delta tables in Databricks Azure? | How to list all delta tables in Databricks Azure?
I have saved one dataframe in my delta lake, below is the command:
df2.write.format("delta").mode("overwrite").partitionBy("updated_date").save("/delta/userdata/")
Also I can load and see the delta lake /userdata:
dfres=spark.read.format("delta").load("/delta/userd... | https://stackoverflow.com/questions/59317416/how-to-list-all-delta-tables-in-databricks-azure | apache-spark, azure-databricks, delta-lake | 1,576,219,533 |
se_50618984 | stackoverflow | DATA_ENGINEERING | Handling decimal values in spark scala | Handling decimal values in spark scala
I have data in a file as shown below:
7373743343333444.
7373743343333432.
This data should be converted to decimal values and should be in a position of 8.7 where 8 are the digits before decimal and 7 are the digits after decimal.
I am trying to read the data file as below:
v... | https://stackoverflow.com/questions/50618984/handling-decimal-values-in-spark-scala | scala, apache-spark, hive, formatting, apache-spark-sql | 1,527,751,878 |
se_77250216 | stackoverflow | DATA_ENGINEERING | Shuffle map stage failure with indeterminate output: eliminate the indeterminacy by checkpointing the RDD before repartition | Shuffle map stage failure with indeterminate output: eliminate the indeterminacy by checkpointing the RDD before repartition
I'm running into an issue with a Spark job that fails roughly every 2nd time with the following error message:
org.apache.spark.SparkException: Job aborted due to stage failure: A
shuffle map s... | https://stackoverflow.com/questions/77250216/shuffle-map-stage-failure-with-indeterminate-output-eliminate-the-indeterminacy | apache-spark, pyspark, apache-spark-sql, azure-databricks, apache-spark-sql-repartition | 1,696,689,080 |
se_47918606 | stackoverflow | DATA_ENGINEERING | Spark GC Overhead limit exceeded error message | Spark GC Overhead limit exceeded error message
I am running the below code in spark to compare the data stored in a csv file and a hive table. My data file is about 1.5GB and about 0.2 billion rows. When I run the code below, I am getting GC overhead limit exceeded error. I am not sure why I am getting this error. I h... | https://stackoverflow.com/questions/47918606/spark-gc-overhead-limit-exceeded-error-message | apache-spark, garbage-collection | 1,513,834,901 |
se_39317625 | stackoverflow | DATA_ENGINEERING | Spark "Executor heartbeat timed out" | Spark "Executor heartbeat timed out"
I have a simple reproducible Spark error. (Spark 2.0 + Amazon EMR 5.0 FYI)
def row_parse_function():
# Custom row parsing function. Details omitted.
return pyspark.sql.types.Row(...)
if __name__ == "__main__"
spark_context = build_spark_context("max value b... | https://stackoverflow.com/questions/39317625/spark-executor-heartbeat-timed-out | apache-spark | 1,472,997,146 |
se_48324958 | stackoverflow | DATA_ENGINEERING | Job stuck on the last 2 tasks of 100 | Job stuck on the last 2 tasks of 100
I am new to Spark and I must support an application that has been written by our consultant. I read and watched a ton of information about Spark, but still I'm struggling with the little details to tune the job correctly.
The scenario:
Java class that contains 5 cleansing rules t... | https://stackoverflow.com/questions/48324958/job-stuck-on-the-last-2-tasks-of-100 | apache-spark, bigdata | 1,516,289,712 |
se_78212098 | stackoverflow | DATA_ENGINEERING | How to sort a PySpark dataframe rows by the order of a list? | How to sort a PySpark dataframe rows by the order of a list?
I have a pySpark dataframe with multiple columns and a list with the items with one of the column items. I want to sort rows by the order of the given list.
col_A
col_B
col_c
a1
b1
c1
a2
b2
c2
a3
b3
b3
col_A_itm_order = ['a2', 'a3', 'a1']
Expec... | https://stackoverflow.com/questions/78212098/how-to-sort-a-pyspark-dataframe-rows-by-the-order-of-a-list | python, dataframe, apache-spark, pyspark, apache-spark-sql | 1,711,220,680 |
se_79550450 | stackoverflow | DATA_ENGINEERING | MalformedURLException: unknown protocol: nested for spark-submit | MalformedURLException: unknown protocol: nested for spark-submit
I built a Spring Boot 3.4 fat JAR and when I try to run it using Spark Submit, I get the following error:
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.springframework.boot.loader.net.protocol.jar.Handler.openConnection(Hand... | https://stackoverflow.com/questions/79550450/malformedurlexception-unknown-protocol-nested-for-spark-submit | java, spring-boot, apache-spark, spark-submit, uberjar | 1,743,592,391 |
se_50125971 | stackoverflow | DATA_ENGINEERING | Generators are not supported when it's nested in expressions | Generators are not supported when it's nested in expressions
I have to do simple remove "." from the strings before doing word count. It is working fine in two statements but giving me below error while writing in single statement. Am I doing something like stupid? Or it is a scope for improvement?
Error:... | https://stackoverflow.com/questions/50125971/generators-are-not-supported-when-its-nested-in-expressions | scala, apache-spark, nested, expression | 1,525,224,527 |
se_74453015 | stackoverflow | DATA_ENGINEERING | Are there any downsides to Spark Adaptive Query Execution (AQE)? | Are there any downsides to Spark Adaptive Query Execution (AQE)?
I am familiar with what AQE is and a lot of the major benefits to using it. What I can't seem to find is a discussion of the downsides (if any). Since it is disabled by default I figure there might be some reasons why you would NOT want to enable AQE. An... | https://stackoverflow.com/questions/74453015/are-there-any-downsides-to-spark-adaptive-query-execution-aqe | advice, apache-spark, apache-spark-sql | 1,668,551,826 |
se_55195370 | stackoverflow | DATA_ENGINEERING | How to create .jar file in IntelliJ for Maven scala+spark project | How to create .jar file in IntelliJ for Maven scala+spark project
IntelliJ-IDEA is new for me .. I used to work with SCALA-IDE. for current project i have to use IntelliJ.
I tried in stackoverflow to find "How to crate .jar file of scala maven project created in Intellij"
I found:
install SBT and on CMD type "sbt ... | https://stackoverflow.com/questions/55195370/how-to-create-jar-file-in-intellij-for-maven-scalaspark-project | scala, apache-spark, intellij-idea, scala-ide | 1,552,729,212 |
se_30763951 | stackoverflow | DATA_ENGINEERING | Spark context 'sc' not defined | Spark context 'sc' not defined
I am new to Spark and I am trying to install the PySpark by referring to the below site.
http://ramhiser.com/2015/02/01/configuring-ipython-notebook-support-for-pyspark/
I tried to install both prebuilt package and also by building the Spark package thru SBT.
When I try to run... | https://stackoverflow.com/questions/30763951/spark-context-sc-not-defined | apache-spark, pyspark, jupyter-notebook | 1,433,959,391 |
se_64627186 | stackoverflow | DATA_ENGINEERING | How to Insert Data into table with select query in Databricks using spark temp table | How to Insert Data into table with select query in Databricks using spark temp table
I would like to insert the results of a Spark table into a new SQL Synapse table using SQL within Azure Data Bricks.
I have tried the following explanation [https://learn.microsoft.com/en-us/azure/databricks/spark/latest/spark-sql/lan... | https://stackoverflow.com/questions/64627186/how-to-insert-data-into-table-with-select-query-in-databricks-using-spark-temp-t | sql-server, apache-spark, create-table, azure-databricks, azure-synapse | 1,604,185,269 |
se_79972032 | stackoverflow | DATA_ENGINEERING | What do you think of this? | What do you think of this?
I'm an aspiring Data Engineer/scientist, and I'm currently building a three-part end-to-end data engineering project. Before I continue with Parts 2 and 3, I'd really appreciate feedback from professionals working in the industry or anyone involved in hiring Data Engineers.
Part 1 β Local De... | https://stackoverflow.com/questions/79972032/what-do-you-think-of-this | amazon-web-services, apache-spark, data-engineering | 1,782,894,374 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.