You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by gi...@apache.org on 2026/10/18 15:11:29 UTC

(datafusion) branch main updated: docs: fix missing word in BytesLikeIndexMap field comment (#26472)

This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new fe612e2da2 docs: fix missing word in BytesLikeIndexMap field comment (#26472)
fe612e2da2 is described below

commit fe612e2da212016905d600eb0dd689910c0899b7
Author: Aarush Kandukoori <66...@users.noreply.github.com>
AuthorDate: Sun Oct 18 14:48:31 2026 +0000

    docs: fix missing word in BytesLikeIndexMap field comment (#26472)
    
    ## What
    Added the missing word 'to' in the doc comment on
    BytesLikeIndexMap::map, which read 'Map from non-null literal value the
    first occurrence index'.
    
    ## Why
    A small, objectively-verifiable improvement (typo) found during a
    daily open-source maintenance pass (2026-10-18).
    
    ## How verified
    Read the surrounding code. The field is a HashMap<Vec<u8>, u32> from
    literal bytes to the first occurrence index, so the sentence needs 'to'.
    git diff shows a 1-line change in 1 file. I did not run cargo fmt or
    clippy; the change is a comment only.
---
 .../expressions/case/literal_lookup_table/bytes_like_lookup_table.rs    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/datafusion/physical-expr/src/expressions/case/literal_lookup_table/bytes_like_lookup_table.rs b/datafusion/physical-expr/src/expressions/case/literal_lookup_table/bytes_like_lookup_table.rs
index 658d9cdaee..6f477fd855 100644
--- a/datafusion/physical-expr/src/expressions/case/literal_lookup_table/bytes_like_lookup_table.rs
+++ b/datafusion/physical-expr/src/expressions/case/literal_lookup_table/bytes_like_lookup_table.rs
@@ -32,7 +32,7 @@ use std::fmt::Debug;
 /// This is a wrapper for handling different kinds of literal maps
 #[derive(Clone, Debug)]
 pub(super) struct BytesLikeIndexMap {
-    /// Map from non-null literal value the first occurrence index in the literals
+    /// Map from non-null literal value to the first occurrence index in the literals
     map: HashMap<Vec<u8>, u32>,
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org