We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad0e527 commit ed446a0Copy full SHA for ed446a0
tests/unit/test_sea_backend.py
@@ -545,6 +545,20 @@ def test_utility_methods(self, sea_client):
545
assert len(configs) > 0
546
assert "ANSI_MODE" in configs
547
548
+ # Test getting the list of allowed configurations with specific keys
549
+ allowed_configs = SeaDatabricksClient.get_allowed_session_configurations()
550
+ expected_keys = {
551
+ "ANSI_MODE",
552
+ "ENABLE_PHOTON",
553
+ "LEGACY_TIME_PARSER_POLICY",
554
+ "MAX_FILE_PARTITION_BYTES",
555
+ "READ_ONLY_EXTERNAL_METASTORE",
556
+ "STATEMENT_TIMEOUT",
557
+ "TIMEZONE",
558
+ "USE_CACHED_RESULT",
559
+ }
560
+ assert set(allowed_configs) == expected_keys
561
+
562
# Test _extract_description_from_manifest
563
manifest_obj = MagicMock()
564
manifest_obj.schema = {
0 commit comments