Skip to content

Commit bf193e7

Browse files
authored
Merge 7e84c14 into b6537e1
2 parents b6537e1 + 7e84c14 commit bf193e7

File tree

9 files changed

+588
-220
lines changed

9 files changed

+588
-220
lines changed

.github/TESTOWNERS

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# TEAM:@ydb-platform/docs
2+
/*.md @ydb-platform/docs
3+
/ydb/docs/ @ydb-platform/docs
4+
5+
# YQL @ydb-platform/yql
6+
/ydb/library/yql/ @ydb-platform/yql
7+
/ydb/library/yql/dq @ydb-platform/yql @ydb-platform/qp
8+
/ydb/library/yql/yt @Krock21 @Krisha11 @zlobober @gritukan
9+
10+
#TEAM:@ydb-platform/Topics
11+
/ydb/core/kafka_proxy @ydb-platform/Topics
12+
/ydb/core/persqueue @ydb-platform/Topics
13+
/ydb/services/datastreams @ydb-platform/Topics
14+
/ydb/services/deprecated/persqueue_v0 @ydb-platform/Topics
15+
/ydb/services/persqueue_v1 @ydb-platform/Topics
16+
17+
#Группа разработки строковых таблиц @azevaykin TEAM:?
18+
/ydb/core/tablet_flat @azevaykin
19+
/ydb/core/tx/datashard @azevaykin
20+
/ydb/core/mon_alloc @azevaykin
21+
22+
# Сoordinator
23+
/ydb/core/tx/coordinator @snaury
24+
25+
#Группа распределенной системной инфраструктуры @ijon TEAM:?
26+
/ydb/core/mind/ @ijon
27+
/ydb/core/blob_depot @ijon
28+
/ydb/core/tx/schemeshard @ijon
29+
/ydb/core/tx/columnshard @ivanmorozov333
30+
/ydb/services/ydb/ @ijon
31+
/ydb/core/util @ijon
32+
/ydb/core/persqueue @ijon
33+
/ydb/core/client @ijon
34+
/ydb/core/engine @ijon
35+
36+
#YDB Query Execution Team @gridnevvvit TEAM:@ydb-platform/qp
37+
/ydb/core/kqp @ydb-platform/qp
38+
39+
#YDB Application Team @asmyasnikov TEAM:?
40+
/ydb/public/sdk @asmyasnikov
41+
/ydb/tests/functional/ydb_cli @asmyasnikov
42+
/ydb/public/lib/ydb_cli @asmyasnikov
43+
44+
#YDB Query Optimizer Team @pavelvelikhov TEAM:???
45+
/ydb/tests/functional/canonical @pavelvelikhov
46+
47+
48+
#YDB Engineering Team @maximyurchuk
49+
# - пока не понятно
50+
51+
#Группа разработки распределенного хранилища @the-ancient-1 TEAM:???
52+
/ydb/core/blobstorage @the-ancient-1
53+
/ydb/core/mind/bscontroller @the-ancient-1
54+
55+
#Группа функциональности ядра @CyberROFL TEAM:@ydb-platform/core
56+
57+
/ydb/core/config/ut @ydb-platform/core
58+
/ydb/core/scheme @ydb-platform/core
59+
/ydb/core/cms @ydb-platform/core
60+
/ydb/tests/functional/cms @ydb-platform/core
61+
62+
63+
#Группа разработки систем поставки данных / LogBroker @alexnick88 TEAM:???
64+
/ydb/tests/functional/sqs
65+
66+
#YDB Analytics TEAM:???
67+
68+
#Federative query TEAM:@ydb-platform/fq
69+
/ydb/tests/fq @ydb-platform/fq
70+
/ydb/core/fq/ @ydb-platform/fq
71+
/ydb/services/fq/ @ydb-platform/fq
72+
/ydb/library/yql/providers/common/http_gateway @ydb-platform/fq
73+
/ydb/library/yql/providers/common/db_id_async_resolver @ydb-platform/fq
74+
/ydb/library/yql/providers/generic @ydb-platform/fq
75+
/ydb/library/yql/providers/pq @ydb-platform/fq
76+
/ydb/library/yql/providers/s3 @ydb-platform/fq
77+
/ydb/library/yql/providers/solomon @ydb-platform/fq
78+
/ydb/core/public_http/ @ydb-platform/fq
79+
80+
#@ydb-platform/ui-backend
81+
/ydb/core/viewer @ydb-platform/ui-backend
82+
/ydb/core/protos/node_whiteboard.proto @ydb-platform/ui-backend

.github/config/muted_ya.txt

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ ydb/core/client/ut TClientTest.ReadFromFollower
55
ydb/core/client/ut TFlatTest.AutoSplitMergeQueue
66
ydb/core/cms/ut_sentinel_unstable *
77
ydb/core/external_sources *
8-
ydb/core/quoter/ut QuoterWithKesusTest.PrefetchCoefficient
98
ydb/core/keyvalue/ut_trace TKeyValueTracingTest.*
109
ydb/core/kqp/provider/ut KikimrIcGateway.TestLoadBasicSecretValueFromExternalDataSourceMetadata
1110
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.*
@@ -14,18 +13,19 @@ ydb/core/kqp/ut/pg KqpPg.CreateIndex
1413
ydb/core/kqp/ut/query KqpLimits.QueryReplySize
1514
ydb/core/kqp/ut/query KqpQuery.QueryTimeout
1615
ydb/core/kqp/ut/scan KqpRequestContext.TraceIdInErrorMessage
17-
ydb/core/kqp/ut/scheme KqpOlapScheme.TenThousandColumns
16+
ydb/core/kqp/ut/scheme [*/*]*
1817
ydb/core/kqp/ut/scheme KqpOlap.OlapRead_StreamGenericQuery
1918
ydb/core/kqp/ut/scheme KqpOlap.OlapRead_UsesGenericQueryOnJoinWithDataShardTable
19+
ydb/core/kqp/ut/scheme KqpOlapScheme.TenThousandColumns
2020
ydb/core/kqp/ut/scheme KqpScheme.AlterAsyncReplication
2121
ydb/core/kqp/ut/scheme KqpScheme.QueryWithAlter
22-
ydb/core/kqp/ut/scheme [*/*]*
22+
ydb/core/kqp/ut/service [*/*]*
2323
ydb/core/kqp/ut/service KqpQueryService.ExecuteQueryPgTableSelect
2424
ydb/core/kqp/ut/service KqpQueryService.QueryOnClosedSession
2525
ydb/core/kqp/ut/service KqpService.CloseSessionsWithLoad
26-
ydb/core/kqp/ut/service [*/*]*
2726
ydb/core/persqueue/ut [*/*]*
2827
ydb/core/persqueue/ut TPQTest.*DirectRead*
28+
ydb/core/persqueue/ut/ut_with_sdk [*/*]*
2929
ydb/core/persqueue/ut/ut_with_sdk TopicAutoscaling.PartitionMerge_PreferedPartition_BeforeAutoscaleAwareSDK
3030
ydb/core/persqueue/ut/ut_with_sdk TopicAutoscaling.PartitionSplit_ManySession_AutoscaleAwareSDK
3131
ydb/core/persqueue/ut/ut_with_sdk TopicAutoscaling.PartitionSplit_ManySession_BeforeAutoscaleAwareSDK
@@ -36,7 +36,7 @@ ydb/core/persqueue/ut/ut_with_sdk TopicAutoscaling.PartitionSplit_ReadNotEmptyPa
3636
ydb/core/persqueue/ut/ut_with_sdk TopicAutoscaling.ReadingAfterSplitTest_AutoscaleAwareSDK_AutoCommit
3737
ydb/core/persqueue/ut/ut_with_sdk TopicAutoscaling.ReadingAfterSplitTest_PreferedPartition_AutoscaleAwareSDK
3838
ydb/core/persqueue/ut/ut_with_sdk TopicAutoscaling.ReadingAfterSplitTest_PreferedPartition_BeforeAutoscaleAwareSDK
39-
ydb/core/persqueue/ut/ut_with_sdk [*/*]*
39+
ydb/core/quoter/ut QuoterWithKesusTest.PrefetchCoefficient
4040
ydb/core/tx/coordinator/ut Coordinator.RestoreTenantConfiguration
4141
ydb/core/tx/datashard/ut_change_exchange Cdc.InitialScanDebezium
4242
ydb/core/tx/schemeshard/ut_restore TImportTests.ShouldSucceedOnManyTables
@@ -49,16 +49,16 @@ ydb/core/viewer/ut Viewer.TabletMergingPacked
4949
ydb/library/actors/http/ut HttpProxy.TooLongHeader
5050
ydb/library/actors/http/ut sole*
5151
ydb/library/yql/providers/generic/connector/tests/datasource/ydb* *
52-
ydb/public/sdk/cpp/client/ydb_persqueue_core/ut RetryPolicy.TWriteSession_TestBrokenPolicy
5352
ydb/public/sdk/cpp/client/ydb_persqueue_core/ut [*/*]
53+
ydb/public/sdk/cpp/client/ydb_persqueue_core/ut RetryPolicy.TWriteSession_TestBrokenPolicy
5454
ydb/public/sdk/cpp/client/ydb_persqueue_public/ut RetryPolicy.TWriteSession_TestBrokenPolicy
55-
ydb/public/sdk/cpp/client/ydb_persqueue_public/ut/with_offset_ranges_mode_ut RetryPolicy.TWriteSession_TestBrokenPolicy
5655
ydb/public/sdk/cpp/client/ydb_persqueue_public/ut/with_offset_ranges_mode_ut [*/*]*
56+
ydb/public/sdk/cpp/client/ydb_persqueue_public/ut/with_offset_ranges_mode_ut RetryPolicy.TWriteSession_TestBrokenPolicy
57+
ydb/public/sdk/cpp/client/ydb_topic/ut [*/*]*
5758
ydb/public/sdk/cpp/client/ydb_topic/ut BasicUsage.ConflictingWrites
5859
ydb/public/sdk/cpp/client/ydb_topic/ut BasicUsage.ReadSessionCorrectClose
5960
ydb/public/sdk/cpp/client/ydb_topic/ut BasicUsage.WriteRead
6061
ydb/public/sdk/cpp/client/ydb_topic/ut TSettingsValidation.TestDifferentDedupParams
61-
ydb/public/sdk/cpp/client/ydb_topic/ut [*/*]*
6262
ydb/services/datastreams/ut DataStreams.TestGetRecordsStreamWithSingleShard
6363
ydb/services/datastreams/ut DataStreams.TestPutRecordsOfAnauthorizedUser
6464
ydb/services/datastreams/ut DataStreams.TestPutRecordsWithRead
@@ -67,35 +67,43 @@ ydb/services/datastreams/ut DataStreams.TestReservedStorageMetering
6767
ydb/services/fq/ut_integration Yq_1.*
6868
ydb/services/keyvalue/ut KeyValueGRPCService.*
6969
ydb/services/keyvalue/ut sole*
70+
ydb/services/persqueue_v1/ut [*/*]*
7071
ydb/services/persqueue_v1/ut TPersQueueTest.CheckACLForGrpcWrite
71-
ydb/services/persqueue_v1/ut TPQCompatTest.BadTopics
7272
ydb/services/persqueue_v1/ut TPersQueueTest.DirectRead*Cache*
73-
ydb/services/persqueue_v1/ut [*/*]*
73+
ydb/services/persqueue_v1/ut TPQCompatTest.BadTopics
7474
ydb/services/ydb/sdk_sessions_pool_ut YdbSdkSessionsPool.StressTestSync*
75-
ydb/services/ydb/sdk_sessions_ut YdbSdkSessions.TestActiveSessionCountAfterBadSession
7675
ydb/services/ydb/sdk_sessions_ut [*/*]*
77-
ydb/services/ydb/table_split_ut YdbTableSplit.SplitByLoadWithReadsMultipleSplitsWithData
76+
ydb/services/ydb/sdk_sessions_ut YdbSdkSessions.TestActiveSessionCountAfterBadSession
7877
ydb/services/ydb/table_split_ut [*/*]*
78+
ydb/services/ydb/table_split_ut YdbTableSplit.SplitByLoadWithReadsMultipleSplitsWithData
7979
ydb/services/ydb/ut YdbOlapStore.LogPagingAfter-NotNull
8080
ydb/services/ydb/ut YdbQueryService.TestCreateAndAttachSession
8181
ydb/services/ydb/ut YdbScripting.BasicV0
8282
ydb/services/ydb/ut YdbYqlClient.TestYqlSessionClosed
83+
ydb/tests/fq/control_plane_storage *
8384
ydb/tests/fq/mem_alloc *
8485
ydb/tests/fq/multi_plane *
8586
ydb/tests/fq/plans test_stats_mode.py.TestStatsMode.test_mode[v1-STATS_MODE_FULL-client0]
8687
ydb/tests/fq/yds *
87-
ydb/tests/fq/control_plane_storage *
88+
ydb/tests/fq/yt/kqp_yt_file/part18 test.py.test[pg-join_brackets2-default.txt]
8889
ydb/tests/functional/audit *
8990
ydb/tests/functional/blobstorage test_replication.py.TestReplicationAfterNodesRestart.test_replication*
9091
ydb/tests/functional/kqp/kqp_indexes ConsistentIndexRead.InteractiveTx
9192
ydb/tests/functional/kqp/kqp_query_session KqpQuerySession.NoLocalAttach
93+
ydb/tests/functional/rename [test_rename.py */*] chunk chunk
9294
ydb/tests/functional/restarts test_restarts.py.*
9395
ydb/tests/functional/serverless test_serverless.py.test_database_with_disk_quotas[enable_alter_database_create_hive_first--*]
96+
ydb/tests/functional/suite_tests test_postgres.py.TestPGSQL.test_sql_suite[plan-jointest/join2.test]
9497
ydb/tests/functional/tenants test_dynamic_tenants.py.*
9598
ydb/tests/functional/tenants test_storage_config.py.TestStorageConfig.*
9699
ydb/tests/functional/tenants test_tenants.py.*
97100
ydb/tests/functional/ydb_cli test_ydb_impex.py.TestImpex.test_big_dataset*
98101
ydb/tests/tools/pq_read/test test_timeout.py.TestTimeout.test_timeout
99-
ydb/tests/functional/rename [test_rename.py */*] chunk chunk
100-
ydb/tests/fq/yt/kqp_yt_file/part18 test.py.test[pg-join_brackets2-default.txt]
101-
ydb/tests/functional/suite_tests test_postgres.py.TestPGSQL.test_sql_suite[plan-jointest/join2.test]
102+
ydb/core/blobstorage/ut_blobstorage/ut_scrub/ BlobScrubbing.block42
103+
ydb/core/blobstorage/ut_blobstorage/ut_scrub/ BlobScrubbing.mirror3dc
104+
ydb/core/blobstorage/ut_blobstorage/ut_scrub/ BlobScrubbing.mirror3of4
105+
ydb/core/tx/schemeshard/ut_move_reboots/ TSchemeShardMoveRebootsTest.WithData
106+
ydb/core/tx/schemeshard/ut_move_reboots/ TSchemeShardMoveRebootsTest.WithDataAndPersistentPartitionStats
107+
ydb/core/tx/schemeshard/ut_pq_reboots/ TPqGroupTestReboots.AlterWithReboots-PQConfigTransactionsAtSchemeShard-false
108+
ydb/apps/ydb/ut/ YdbWorkloadTransferTopicToTable.Default_Init_Clean
109+
ydb/library/actors/interconnect/ut_huge_cluster/HugeCluster.AllToAll
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
import os
3+
import csv
4+
import urllib.parse
5+
6+
# Функция для декодирования percent-encoded строки
7+
def decode_percent_encoded_string(encoded_string):
8+
return urllib.parse.unquote(encoded_string)
9+
10+
# Функция для декодирования CSV файла
11+
def decode_csv(file_path):
12+
with open(file_path, mode='r', encoding='utf-8') as infile, open(file_path + '.decoded', mode='w', encoding='utf-8', newline='') as outfile:
13+
reader = csv.reader(infile)
14+
writer = csv.writer(outfile,escapechar='\\', quotechar='"', quoting=csv.QUOTE_ALL, doublequote=True)
15+
16+
for row in reader:
17+
decoded_row = [decode_percent_encoded_string(cell) for cell in row]
18+
writer.writerow(decoded_row)
19+
20+
# Функция для обработки всех CSV файлов в директории
21+
def decode_all_csv_files_in_directory(directory_path):
22+
for filename in os.listdir(directory_path):
23+
if filename.endswith('.csv'):
24+
file_path = os.path.join(directory_path, filename)
25+
print(f"Processing file: {file_path}")
26+
decode_csv(file_path)
27+
os.replace(file_path + '.decoded', file_path)
28+
29+
def main():
30+
directory_path = 'place_your_path_here'
31+
decode_all_csv_files_in_directory(directory_path)
32+
33+
34+
if __name__ == "__main__":
35+
main()

.github/scripts/analytics/flaky_tests_history.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def main():
151151
DISTINCT suite_folder || '/' || test_name as full_name,
152152
suite_folder,
153153
test_name
154-
from `test_results/test_runs_results`
154+
from `test_results/test_runs_column`
155155
where
156156
status in ('failure','mute')
157157
and job_name in ('Nightly-run', 'Postcommit_relwithdebinfo')
@@ -161,7 +161,7 @@ def main():
161161
cross join (
162162
select
163163
DISTINCT DateTime::MakeDate(run_timestamp) as date_base
164-
from `test_results/test_runs_results`
164+
from `test_results/test_runs_column`
165165
where
166166
status in ('failure','mute')
167167
and job_name in ('Nightly-run', 'Postcommit_relwithdebinfo')
@@ -176,7 +176,7 @@ def main():
176176
run_timestamp,
177177
status
178178
--ROW_NUMBER() OVER (PARTITION BY test_name ORDER BY run_timestamp DESC) AS rn
179-
from `test_results/test_runs_results`
179+
from `test_results/test_runs_column`
180180
where
181181
run_timestamp >= Date('{last_date}') -{history_for_n_day}*Interval("P1D") and
182182
job_name in ('Nightly-run', 'Postcommit_relwithdebinfo')
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
2+
#!/bin/bash
3+
4+
# Параметры подключения к YDB
5+
ENDPOINT="grpcs://lb.etnvsjbk7kh1jc6bbfi8.ydb.mdb.yandexcloud.net:2135"
6+
DATABASE="/ru-central1/b1ggceeul2pkher8vhb6/etnvsjbk7kh1jc6bbfi8"
7+
SA_KEY_FILE="/home/kirrysin/fork_2/.github/scripts/my-robot-key.json"
8+
TABLE="test_results/test_runs_column"
9+
DIRECTORY="/home/kirrysin/fork_2/~tmp_backup/test_runs_results"
10+
11+
# Обрабатываем каждый .csv файл в указанной директории
12+
for FILE in "$DIRECTORY"/*.csv; do
13+
if [[ -f "$FILE" ]]; then
14+
echo "Импортируем файл: $FILE"
15+
16+
ydb -e "$ENDPOINT" \
17+
-d "$DATABASE" \
18+
--sa-key-file "$SA_KEY_FILE" \
19+
import file csv \
20+
-p "$TABLE" \
21+
"$FILE"
22+
23+
if [[ $? -eq 0 ]]; then
24+
echo "Импорт файла $FILE успешно завершен."
25+
else
26+
echo "Ошибка при импорте файла $FILE." >&2
27+
exit 1
28+
fi
29+
fi
30+
done
31+
32+
echo "Импорт всех файлов завершен."

0 commit comments

Comments
 (0)