Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Tweaks to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao committed Feb 17, 2022
1 parent 1de2289 commit 16a3415
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ strength_reduce = { version = "0.2", optional = true }
# For instruction multiversioning
multiversion = { version = "0.6.1", optional = true }

# For instruction multiversioning
# For support for odbc
#odbc-api = { version = "0.34", optional = true }
odbc-api = { git = "https://github.com/jorgecarleitao/odbc-api", branch= "expose_indicators", optional = true }

Expand Down
2 changes: 1 addition & 1 deletion src/io/odbc/deserialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::types::NativeType;
use super::api::buffers::AnyColumnView;

/// Deserializes a [`AnyColumnView`] into an array of [`DataType`].
/// This is Pure CPU
/// This is CPU-bounded
pub fn deserialize(column: AnyColumnView, data_type: DataType) -> Box<dyn Array> {
match column {
AnyColumnView::Text(_) => todo!(),
Expand Down
2 changes: 1 addition & 1 deletion src/io/odbc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub use schema::infer_schema;

/// Creates a [`api::buffers::ColumnarBuffer`] from the metadata.
/// # Errors
/// If the driver provides incorrect an incorrect [`ResultSetMetadata`]
/// Iff the driver provides an incorrect [`ResultSetMetadata`]
pub fn buffer_from_metadata(
resut_set_metadata: &impl api::ResultSetMetadata,
max_batch_size: usize,
Expand Down
2 changes: 1 addition & 1 deletion src/io/odbc/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use super::api::ResultSetMetadata;
use crate::datatypes::{DataType, Field, TimeUnit};
use crate::error::Result;

/// Infers the Arrow [Field]s from a [`ResultSetMetadata`]
/// Infers the Arrow [`Field`]s from a [`ResultSetMetadata`]
pub fn infer_schema(resut_set_metadata: &impl ResultSetMetadata) -> Result<Vec<Field>> {
let num_cols: u16 = resut_set_metadata.num_result_cols().unwrap() as u16;

Expand Down

0 comments on commit 16a3415

Please sign in to comment.