-
Notifications
You must be signed in to change notification settings - Fork 968
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update cypress data to have random id, missing value fields and uniqu…
…e field (#9321) * Update cypress data to have random id, missing value fields and unique field * Random id generation in TestDataGenerator * Add a unique field to test modifyColumnsOnSwitch * Update mapping and include a never present field to test hide missing values Signed-off-by: Anan <ananzh@amazon.com> * Changeset file for PR #9321 created/updated --------- Signed-off-by: Anan <ananzh@amazon.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
0da7752
commit 13408e1
Showing
35 changed files
with
160,154 additions
and
160,038 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
test: | ||
- Update cypress data to have random id, missing value fields and unique field ([#9321](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/9321)) |
Binary file modified
BIN
+1.68 MB
(110%)
cypress/fixtures/query_enhancements/data_logs_1/data_logs_large_time_1.data.ndjson.gz
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+1.6 MB
(110%)
cypress/fixtures/query_enhancements/data_logs_1/data_logs_large_time_2.data.ndjson.gz
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40,000 changes: 20,000 additions & 20,000 deletions
40,000
cypress/fixtures/query_enhancements/data_logs_1/data_logs_small_no_time_1.data.ndjson
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40,000 changes: 20,000 additions & 20,000 deletions
40,000
cypress/fixtures/query_enhancements/data_logs_1/data_logs_small_no_time_2.data.ndjson
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40,000 changes: 20,000 additions & 20,000 deletions
40,000
cypress/fixtures/query_enhancements/data_logs_1/data_logs_small_time_1.data.ndjson
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40,000 changes: 20,000 additions & 20,000 deletions
40,000
cypress/fixtures/query_enhancements/data_logs_1/data_logs_small_time_2.data.ndjson
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+1.68 MB
(110%)
cypress/fixtures/query_enhancements/data_logs_2/data_logs_large_time_1.data.ndjson.gz
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+1.6 MB
(110%)
cypress/fixtures/query_enhancements/data_logs_2/data_logs_large_time_2.data.ndjson.gz
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40,000 changes: 20,000 additions & 20,000 deletions
40,000
cypress/fixtures/query_enhancements/data_logs_2/data_logs_small_no_time_1.data.ndjson
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40,000 changes: 20,000 additions & 20,000 deletions
40,000
cypress/fixtures/query_enhancements/data_logs_2/data_logs_small_no_time_2.data.ndjson
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40,000 changes: 20,000 additions & 20,000 deletions
40,000
cypress/fixtures/query_enhancements/data_logs_2/data_logs_small_time_1.data.ndjson
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40,000 changes: 20,000 additions & 20,000 deletions
40,000
cypress/fixtures/query_enhancements/data_logs_2/data_logs_small_time_2.data.ndjson
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
# Array of configurations | ||
declare -a configs=( | ||
"data_logs_small_time_2 --doc-count 10000" | ||
"data_logs_small_no_time_2 --doc-count 10000 --no-timestamp" | ||
"data_logs_large_time_2 --doc-count 100000" | ||
) | ||
# Log file | ||
LOG_FILE="data_generation.log" | ||
echo "Starting data generation at $(date)" > $LOG_FILE | ||
# Loop through configurations and generate data | ||
for config in "${configs[@]}" | ||
do | ||
echo "Generating data for: $config" | ||
echo "Starting $config at $(date)" >> $LOG_FILE | ||
|
||
if node scripts/generate_data/index.js $config >> $LOG_FILE 2>&1; then | ||
echo "Successfully generated data for $config" | tee -a $LOG_FILE | ||
else | ||
echo "Failed to generate data for $config" | tee -a $LOG_FILE | ||
exit 1 | ||
fi | ||
done | ||
echo "All data generation completed successfully!" | ||
echo "Completed all data generation at $(date)" >> $LOG_FILE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.