Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
Filter by
Sorted by
Tagged with
2 votes
0 answers
47 views

I have a large BigQuery table, big_table, around 5 TB in size. It is partitioned by the column partition_date, which has about 2000 distinct values. I also have a smaller table, small_table, which ...
Alex Lipkin's user avatar
0 votes
0 answers
30 views

Question GridDB Container Partition Recovery After Node Failure I'm working with a 3-node GridDB cluster and need to implement automatic recovery logic when one node fails. My application creates ...
Muhammad Saleem's user avatar
1 vote
1 answer
80 views

I am new to Kafka and if I understand correctly we need to Specify upfront the number of partitions We can increase partitions if required but we can't delete them (at the risk of losing data) The ...
Jim's user avatar
  • 4,529
0 votes
1 answer
41 views

I'm following a course on Udemy where the instructor is using an older version than me. When he right-click on "scatter plot" or "table partitioner" he gets an option to open a ...
Manar's user avatar
  • 101
1 vote
2 answers
58 views

Consider the following sequence: Message1 with key "A" is sent to a specific partition of a topic: kafkaProducer.send("my-topic", 0, "A", "Message content"); ...
Walter Oesch's user avatar
2 votes
4 answers
198 views

In Ruby, I want to group an array of integers by a running total without the total going over a certain number. While keeping the integers in order. I have this array of numbers from zero to one ...
John Skiles Skinner's user avatar
0 votes
1 answer
211 views

I am using ESP-IDF v5.4.1.I have a project with custom partition table.When I building that project.When I run idf.py build command,build is getting failed. Logs of failure: [110/1369] Generating ../.....
Prashanth's user avatar
1 vote
2 answers
91 views

I have a query that joins multiple tables. The result of the query is something similar to this temptable: DROP TABLE IF EXISTS #temptable CREATE TABLE #temptable ( [rowNum] int, [Id] int, ...
ichachan's user avatar
  • 693
0 votes
2 answers
64 views

I am trying to compute the number of events that take place within 30 minutes of one another (variable n_within_30) on the same date and in the same location. I have tried to partition and group by ...
user30387333's user avatar
0 votes
0 answers
41 views

I'm administering 3 clusters RabbitMQ versions 3.10 and 3.11 in a production environment. I wasn't the one who installed those clusters. I had to solve a production incident, involving partition. ...
Emile De Favas's user avatar
0 votes
0 answers
44 views

I am trying to overwrite multiple partitions in a large table. Basically I have my main external S3 table sandbox, partitioned by part: scala> q("select * from sandbox") +---+-------------...
kot's user avatar
  • 85
0 votes
0 answers
35 views

To support the above feature I found out a way to update GPT via approach mentioned by me in the code section. But in the approach if there is any power failure during sgdisk command execution then ...
Shravan Kumar Suthaar's user avatar
5 votes
1 answer
109 views

In lua I want to get every possible combination of every possible combination of whole strings in array... Let me explain what I mean by that. Let's say that we got an array C = { "a", "...
Aer's user avatar
  • 53
1 vote
2 answers
88 views

I have a fact table and I am using sum over partition by on the column vacant. I want to sum vacant when vacant is above 0. I have the following query: SELECT f.[D_Building_Id], f.[...
Frans's user avatar
  • 21
0 votes
1 answer
48 views

In Kafka, it's generally recommended to map one table to one topic. However, what if the order of events across multiple tables is important for a specific key, such as CompanyId? For example, ...
gravitypulling's user avatar
1 vote
0 answers
32 views

CREATE EXTERNAL TABLE testpart (id bigint, eventday bigint, eventhour bigint PARTITIONED BY (eventday smallint,eventhour bigint) ROW FORMAT SERDE'org.apache.hadoop.hive.ql.io.parquet.serde....
atish kulkarni's user avatar
0 votes
0 answers
35 views

I am in the process of updating our embedded deployment from Honnister to Scarthgap. In our custom layer, we have the definition of several partition using a wks file defined as such: part /boot --...
PMDP3's user avatar
  • 57
1 vote
1 answer
85 views

When querying a non-partitioned table, the query optimizer can leverage indexes for sorting and limit the data read based on the LIMIT clause. For example, in a non-partitioned table my_table with a ...
bbang's user avatar
  • 11
2 votes
0 answers
38 views

I'm trying to customize directory names generated by PySpark using partition_by on these two columns (date and customer), Dataframe is similar to this: +----------+--------+ |date |customer| +----...
ANDRE GARCIA CARNEIRO's user avatar
-2 votes
1 answer
49 views

You are given an array containing n elements, where n is odd. In one operation, you can select an index i, such that 1 ≤ i < n and remove ai and ai+1 from the array and concatenate the remaining ...
20BCS029-Ishtiyak Ahmad Khan's user avatar
1 vote
1 answer
88 views

I am trying to calculate a moving average for a team score, but this should include both the points scored when it is the away team and home team. For example, I have the following table Match: ...
Jan-Maarten Van Osch's user avatar
0 votes
1 answer
49 views

I am working on selecting participants for a program based on certain criteria and after meeting the criteria, get x% (say 60%) from a specific department A, and the remaining 20% from another ...
user728148's user avatar
2 votes
3 answers
100 views

I have created the following pandas dataframe: ds = {'col1':[1.0,2.1,2.2,3.1,41,5.2,5.0,6.1,7.1,10]} df = pd.DataFrame(data=ds) The dataframe looks like this: print(df) col1 0 1.0 1 2.1 2 2....
Giampaolo Levorato's user avatar
0 votes
0 answers
71 views

first time question asker here and pretty new to SQL. I'm doing a project in postgresql and pgadmin 4 (if that matters) and I'm getting duplicates in my 'title' and 'title_mo_rentals' fields when ...
Matt B's user avatar
  • 1
0 votes
1 answer
80 views

In the screenshot, Id is the primary key. There could be many of the same Participant__c values in this result set, each with a different Id. What I'm trying to do is write a query that will return ...
Mike Marks's user avatar
  • 10.1k
0 votes
1 answer
42 views

I have two tables : 1.Actions : Contains multiple actions performed on orderIDs on specific dates. For each orderID, there are multiple rows, each representing a different action performed on a ...
user27265009's user avatar
2 votes
1 answer
82 views

I'm writing a script that will partition several disks on a Linux system. These disks can be all sorts of block devices. I need to find a way to reliably create the names of the partitions that will ...
Seb's user avatar
  • 43
0 votes
0 answers
148 views

This question is a follow up question to Why is there such a difference in performance between these two queries?. I am having difficulty finding an efficient way to frequently query and join two ...
Joe's user avatar
  • 151
0 votes
1 answer
90 views

I'm trying to understand the difference between these two conditions for the partition step of quicksort. While writing this out, I'm capitalizing single letter variable names so it's more readable. ...
santa_claus's user avatar
1 vote
1 answer
101 views

I have a set of different numbers, e.g. set = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110]. Now I want to partition this list into sublists which are not longer than 5. I know how I can partition ...
mathquester's user avatar
1 vote
1 answer
181 views

I am attempting to implement Partition-key-based multi-tenancy, but I was not able to find any code implementation tutorial for me to follow along. Here is the code I have so far. However, I am having ...
Rashad Tockey's user avatar
0 votes
0 answers
143 views

i am trying to create partitions for External Tables of type Delta Lake. Unfortunately the Delta Lake file system does not have a partition implemented neither, which means no partition is mentioned ...
Rajesh Kumar Ramachandran's user avatar
-1 votes
1 answer
109 views

I'm programming the ESP32 S2 WROOM with PlatformIO with a custom partition table that allows me to store as much data as possible in the app0 partition, and quite a lot of user settings in the nvs ...
FBM's user avatar
  • 1
0 votes
1 answer
140 views

so I have a view table named table_1 and it has a partition field called business_date. Thie table_1 is constructed by using a raw table named data_mart.customer_raw. There are a lot business needs ...
Iren Ramadhan's user avatar
0 votes
1 answer
153 views

I have the following query: SELECT s.first_field, s.second_field, t.third_field, s.fourth_field, ROUND( (SUM(mt.volume) * 100.0 / SUM(mt....
Raul's user avatar
  • 3
0 votes
1 answer
67 views

I am trying to partition an athena table by a timestamp variable called 'forecast_datetime'. To use this variable as a partition I have made it 'string', with following values: '2007-12-10-11-00-00', '...
user_dhrn's user avatar
  • 597
1 vote
1 answer
291 views

I am trying to use parted in scripted mode to resize a partition. When I use the command to increase the partition size it works but when I use the same command but simply change the sector size to ...
FlexMcMurphy's user avatar
0 votes
0 answers
56 views

I have a table that holds reports that come in for different entities, and the state the entity is in at the time of the report. It is important to know the total duration of each occurrence of an ...
Alex Howard's user avatar
7 votes
0 answers
131 views

Problem set This is somewhat a generalization of the famous partition of integer n into k parts. Given two integers a,b I need to find the number of partitions into k distinct parts that sum up to (a,...
linuxbeginner's user avatar
0 votes
2 answers
595 views

I've been trying to create a batch file that calls out diskpart commands and then exits back to the batch file. The diskpart commands increase the size of the recovery partition. Here is the current ...
Zachary Widener's user avatar
0 votes
0 answers
58 views

Is it possible to accomplish the following or something similar? In particular, what I would like to accomplish is the reuse of some_partition across different queries (query1, query2) each using ...
Lay González's user avatar
0 votes
2 answers
99 views

I want to compare same columns of rows falling into the same group created by partition by clause in SQL. My table has below data: Id Serial_Number Last_update_date Flag 1 3344 07-...
Mohammed Arif's user avatar
0 votes
1 answer
52 views

I have a table in MySQL with stock data, that has the columns: time open high low close volume I get an entry every 5 minutes. How do I get these values in an hourly interval instead of a 5 minute ...
DasZD's user avatar
  • 1
0 votes
1 answer
425 views

We did dbt configuration for one of the model with incremental strategy and unique key and again customer wants to setup retention period for 7day did as per requirement and logic Is working only once ...
Naveena P B's user avatar
0 votes
1 answer
45 views

Assume this is my PySpark dataframe, ordered by ("ID", "updated_at"): ID updated_at stock_date row_num a1 2024-03-25T20:52:36 2024-03-25 1 a1 2024-03-26T11:23:48 2024-03-26 2 a1 ...
Leandro Destefani's user avatar
0 votes
0 answers
86 views

I need to divide the array A [n] into two sub-arrays A1, A2 based on the middle value midval, in a manner that all the elements of A1 (or denoted left) are smaller than the midval and all the elements ...
Gregster's user avatar
1 vote
1 answer
152 views

Running EXPLAIN SELECT COUNT(*) FROM activities shows it plans to use the secondary index with and only one column int and keylen of 5. Action takes anywhere from 2 minutes to 6 minutes, sporadically ...
Michael Modan's user avatar
0 votes
1 answer
193 views

This is my exisitng table: PARTITION BY RANGE ("D0_CRD_RPT_DT") INTERVAL (NUMTOYMINTERVAL(1, 'MONTH')) SUBPARTITION BY LIST ("TA_SRC_STM_CD","TA_OBJ_TP_CD") ...
Sanjeev Sharma's user avatar
0 votes
1 answer
45 views

My table: Name ID Status Roger Collins 904 3 Roger John Horspool 915 3 Roger John Shippey 932 3 Roger John Shippey & T.C. Rowell 5341 2 Roger John Shippey & T.C. Rowell 5341 3 Due to poor ...
Lord_Verulam's user avatar
0 votes
1 answer
191 views

What are the feasibility and implementation methods of partitioning data in ClickHouse? What are the traditional RDBMS? In ClickHouse, how feasible is data partitioning, and what implementation ...
Meena Singhaniya's user avatar

1
2 3 4 5
32