fn validate_timestamp_index( column_schemas: &[ColumnSchema], timestamp_index: usize, ) -> Result<()>