-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor CDP implementation and add Capabilities (#2636)
Refactor CDP implementation Use AssociatedDataSources for CDP record types Make all CDP records lazy Add x-ms-enum management New TabularRecordType (lazy) Make CdpTableResolver return ConnectorType Remove CdpDType hack Remove CdpTableType hack Remove CdpTableDescriptor Remove ExternalCdpDataSource Remove ICdpTableResolver.GenerateADS hack Rework Connector service capabilities Add Relationships to CdpService Add TableParameters to CdpTable New InternalTableMetadata and related classes in Pfx Core New InternalTableParameters in Pfx Core (implementing IExternalTabularDataSource) Fix DType ToRecord, ToTable
- Loading branch information
1 parent
d3c93a3
commit 0fd9e3e
Showing
52 changed files
with
1,907 additions
and
628 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 0 additions & 29 deletions
29
src/libraries/Microsoft.PowerFx.Connectors/Internal/CdpDtype.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/libraries/Microsoft.PowerFx.Connectors/Public/CdpDelegationInfo.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
|
||
namespace Microsoft.PowerFx.Core.Entities | ||
{ | ||
// Used by ServiceCapabilities.ToDelegationInfo for managing CDP x-ms-capabilities | ||
internal class CdpDelegationInfo : TableDelegationInfo | ||
{ | ||
public override ColumnCapabilitiesDefinition GetColumnCapability(string fieldName) | ||
{ | ||
// We should never reach that point in CDP case | ||
throw new System.NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
src/libraries/Microsoft.PowerFx.Connectors/Public/CdpTableType.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.