diff --git a/flow/connectors/snowflake/snowflake.go b/flow/connectors/snowflake/snowflake.go
index 9382f59c54..4c7c378dff 100644
--- a/flow/connectors/snowflake/snowflake.go
+++ b/flow/connectors/snowflake/snowflake.go
@@ -516,6 +516,10 @@ func (c *SnowflakeConnector) NormalizeRecords(ctx context.Context, req *model.No
g.SetLimit(8) // limit parallel merges to 8
for _, tableName := range destinationTableNames {
+ if err := gCtx.Err(); err != nil {
+ return nil, fmt.Errorf("canceled while normalizing records: %w", err)
+ }
+
g.Go(func() error {
mergeGen := &mergeStmtGenerator{
rawTableName: getRawTableIdentifier(req.FlowJobName),
@@ -547,10 +551,6 @@ func (c *SnowflakeConnector) NormalizeRecords(ctx context.Context, req *model.No
endTime := time.Now()
c.logger.Info(fmt.Sprintf("[merge] merged records into %s, took: %d seconds",
tableName, endTime.Sub(startTime)/time.Second))
- if err != nil {
- c.logger.Error("[merge] error while normalizing records", "error", err)
- return err
- }
rowsAffected, err := result.RowsAffected()
if err != nil {
diff --git a/ui/app/alert-config/new.tsx b/ui/app/alert-config/new.tsx
index ffaa41f91b..6a399e4c81 100644
--- a/ui/app/alert-config/new.tsx
+++ b/ui/app/alert-config/new.tsx
@@ -6,6 +6,7 @@ import ReactSelect from 'react-select';
import { PulseLoader } from 'react-spinners';
import { ToastContainer, toast } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.css';
+import SelectTheme from '../styles/select';
import { alertConfigReqSchema, alertConfigType } from './validation';
export interface AlertConfigProps {
@@ -107,6 +108,7 @@ const NewAlertConfig = (alertProps: AlertConfigProps) => {
}}
formatOptionLabel={ConfigLabel}
onChange={(val, _) => val && setServiceType(val.value)}
+ theme={SelectTheme}
/>
diff --git a/ui/app/alert-config/page.tsx b/ui/app/alert-config/page.tsx
index 7d76872827..514f586155 100644
--- a/ui/app/alert-config/page.tsx
+++ b/ui/app/alert-config/page.tsx
@@ -10,6 +10,7 @@ import React, { useState } from 'react';
import { PulseLoader } from 'react-spinners';
import useSWR from 'swr';
import { UAlertConfigResponse } from '../dto/AlertDTO';
+import { tableStyle } from '../peers/[peerName]/style';
import { fetcher } from '../utils/swr';
import NewAlertConfig, { AlertConfigProps } from './new';
const ServiceIcon = (serviceType: string) => {
@@ -73,9 +74,7 @@ const AlertConfigPage: React.FC = () => {
alerts.
-
+
{alerts?.length ? (
alerts.map((alertConfig: UAlertConfigResponse, index) => (
diff --git a/ui/app/mirrors/[mirrorId]/cdc.tsx b/ui/app/mirrors/[mirrorId]/cdc.tsx
index 3ca1737251..61ebc03434 100644
--- a/ui/app/mirrors/[mirrorId]/cdc.tsx
+++ b/ui/app/mirrors/[mirrorId]/cdc.tsx
@@ -1,5 +1,6 @@
'use client';
import { SyncStatusRow } from '@/app/dto/MirrorsDTO';
+import SelectTheme from '@/app/styles/select';
import TimeLabel from '@/components/TimeComponent';
import {
CloneTableSummary,
@@ -153,6 +154,7 @@ export const SnapshotStatusTable = ({ status }: SnapshotStatusProps) => {
value: 'cloneStartTime',
label: 'Start Time',
}}
+ theme={SelectTheme}
/>