MCPcopy Create free account
hub / github.com/apache/datafusion / enabled

Method enabled

datafusion/common/src/config.rs:746–751  ·  view source on GitHub ↗

Returns enabled CDC options with the default chunking parameters. Shorthand for `ParquetCdcOptions { enabled: true, ..Default::default() }`; combine with struct-update syntax to override parameters, e.g. `ParquetCdcOptions { min_chunk_size: 4096, ..ParquetCdcOptions::enabled() }`.

()

Source from the content-addressed store, hash-verified

744 /// combine with struct-update syntax to override parameters, e.g.
745 /// `ParquetCdcOptions { min_chunk_size: 4096, ..ParquetCdcOptions::enabled() }`.
746 pub fn enabled() -> Self {
747 Self {
748 enabled: true,
749 ..Default::default()
750 }
751 }
752
753 /// Returns disabled CDC options (equivalent to [`ParquetCdcOptions::default`]).
754 pub fn disabled() -> Self {

Callers 1

logMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected