Skip to content

Commit d16f10c

Browse files
shangchenglumetroroeap
authored andcommitted
chore: remove redundant words in comment
Signed-off-by: shangchenglumetro <[email protected]>
1 parent 739f461 commit d16f10c

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

crates/azure/tests/integration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ async fn read_write_test_onelake(context: &IntegrationContext, path: &Path) -> T
9797
#[serial]
9898
fn list_delta_tables_using_listing_provider_with_missing_account_name() -> TestResult {
9999
let context = IntegrationContext::new(Box::new(MsftIntegration::default()))?;
100-
// Removing the the envs set by the `IntegrationContext (az_cli::prepare_env())` to illustrate the issue if e.g. account_name is not set from custom `storage_options`, but still preserving the use of the `IntegrationContext`
100+
// Removing the envs set by the `IntegrationContext (az_cli::prepare_env())` to illustrate the issue if e.g. account_name is not set from custom `storage_options`, but still preserving the use of the `IntegrationContext`
101101
std::env::remove_var("AZURE_STORAGE_USE_EMULATOR");
102102
std::env::remove_var("AZURE_STORAGE_ACCOUNT_NAME");
103103
std::env::remove_var("AZURE_STORAGE_TOKEN");
@@ -116,7 +116,7 @@ fn list_delta_tables_using_listing_provider_with_missing_account_name() -> TestR
116116
#[serial]
117117
async fn list_delta_tables_using_listing_provider_with_account_name() -> TestResult {
118118
let context = IntegrationContext::new(Box::new(MsftIntegration::default()))?;
119-
// Removing the the envs set by the `IntegrationContext (az_cli::prepare_env())` to illustrate the issue if e.g. account_name is not set from custom `storage_options`, but still preserving the use of the `IntegrationContext`
119+
// Removing the envs set by the `IntegrationContext (az_cli::prepare_env())` to illustrate the issue if e.g. account_name is not set from custom `storage_options`, but still preserving the use of the `IntegrationContext`
120120
std::env::remove_var("AZURE_STORAGE_USE_EMULATOR");
121121
std::env::remove_var("AZURE_STORAGE_ACCOUNT_NAME");
122122
std::env::remove_var("AZURE_STORAGE_TOKEN");

crates/core/src/kernel/snapshot/replay.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ fn map_batch(
125125
}
126126

127127
/// parse the serialized stats in the `add.stats` column in the files batch
128-
/// and add a new column `stats_parsed` containing the the parsed stats.
128+
/// and add a new column `stats_parsed` containing the parsed stats.
129129
fn parse_stats(
130130
batch: RecordBatch,
131131
stats_schema: ArrowSchemaRef,

crates/core/src/logstore/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ trait LogStoreFactoryExt {
104104
///
105105
/// - `root_store`: and instance of [`ObjectStoreRef`] with no prefix o.a. applied.
106106
/// I.e. pointing to the root of the onject store.
107-
/// - `location`: The location of the the delta table (where the `_delta_log` directory is).
107+
/// - `location`: The location of the delta table (where the `_delta_log` directory is).
108108
/// - `options`: The options for the log store.
109109
fn with_options_internal(
110110
&self,
@@ -398,7 +398,7 @@ pub trait LogStore: Send + Sync + AsAny {
398398

399399
/// Extension trait for LogStore to handle some internal invariants.
400400
pub(crate) trait LogStoreExt: LogStore {
401-
/// The the fully qualified table URL
401+
/// The fully qualified table URL
402402
///
403403
/// The paths is guaranteed to end with a slash,
404404
/// so that it can be used as a prefix for other paths.
@@ -410,7 +410,7 @@ pub(crate) trait LogStoreExt: LogStore {
410410
base
411411
}
412412

413-
/// The the fully qualified table log URL
413+
/// The fully qualified table log URL
414414
///
415415
/// The paths is guaranteed to end with a slash,
416416
/// so that it can be used as a prefix for other paths.

crates/core/src/writer/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ impl ShareableBuffer {
117117
.map(|lock| lock.into_inner())
118118
}
119119

120-
/// Returns a clone of the the underlying buffer as a `Vec`.
120+
/// Returns a clone of the underlying buffer as a `Vec`.
121121
pub fn to_vec(&self) -> Vec<u8> {
122122
let inner = self.buffer.read();
123123
(*inner).to_vec()

0 commit comments

Comments
 (0)