pandrs 0.3.2

A high-performance DataFrame library for Rust, providing pandas-like API with advanced features including SIMD optimization, parallel processing, and distributed computing capabilities
Documentation
//! Advanced distributed processing tests for PandRS
//!
//! Note: These tests require modules that are currently under development.
//! Full test coverage will be available in a future release.

#[cfg(feature = "distributed")]
mod tests {
    use pandrs::distributed::{DistributedConfig, DistributedContext};
    use pandrs::error::Result;

    #[test]
    #[allow(clippy::result_large_err)]
    fn test_distributed_context_basic() -> Result<()> {
        // Basic context creation test
        let config = DistributedConfig::new()
            .with_executor("datafusion")
            .with_concurrency(2);

        let _context = DistributedContext::new(config)?;
        Ok(())
    }

    #[test]
    fn test_distributed_config() {
        // Test configuration options
        let config = DistributedConfig::new()
            .with_executor("datafusion")
            .with_concurrency(4)
            .with_optimization(true);

        assert_eq!(config.concurrency(), 4);
    }
}

#[cfg(not(feature = "distributed"))]
mod tests {
    #[test]
    fn test_distributed_feature_disabled() {
        // This test runs when distributed feature is disabled
    }
}