Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support alterations to hold or remove columns of a result-set by name or index #385

Closed
Seddryck opened this issue Jun 25, 2018 · 2 comments

Comments

@Seddryck
Copy link
Owner

Seddryck commented Jun 25, 2018

It should be possible to define a way to remove or hold some columns in a result-set. The identification of the columns should be the index or the name. The order of the columns in the result is determined by their original order in the table. Only the columns that were specified as arguments are dropped. The other columns are included in the result.

<alteration>
  <project-away>
    <column identifier="#1">
    <column identifier="Foo">
  </project-away>
</alteration>

the command to hold columns should be project. The order of the columns in the result is specified by the order of the arguments. Only the columns specified in the arguments are included in the result: any others in the input are dropped.

@Seddryck
Copy link
Owner Author

Seddryck commented Jun 30, 2018

@Seddryck Seddryck modified the milestones: v1.19, v1.20 Nov 11, 2018
@Seddryck Seddryck modified the milestones: v1.20, v1.21 Jan 6, 2019
@Seddryck Seddryck modified the milestones: v1.21, v1.22 May 30, 2019
@Seddryck Seddryck modified the milestones: v1.22, v1.21 Aug 29, 2019
Seddryck pushed a commit that referenced this issue Aug 30, 2019
# Conflicts:
#	NBi.Core/NBi.Core.csproj
#	NBi.Core/ResultSet/ColumnNameIdentifier.cs
#	NBi.Core/ResultSet/ColumnPositionIdentifier.cs
#	NBi.NUnit/Builder/Helper/ResultSetSystemHelper.cs
#	NBi.Testing.Core/ResultSet/ColumnIdentifierFactory.cs
#	NBi.Testing.Core/ResultSet/ColumnIdentifierFactoryTest.cs
#	NBi.Testing/Acceptance/Resources/Positive/ResultSetConstraint.nbits
#	NBi.Testing/Acceptance/RuntimeOverrider.cs
#	NBi.Testing/NBi.Testing.csproj
#	NBi.Testing/Unit/Core/ResultSet/ColumnIdentifierFactory.cs
#	NBi.Xml/Items/Alteration/AlterationXml.cs
#	NBi.Xml/NBi.Xml.csproj
#	NBi.Xml/Schema/BaseType.xsd
@Seddryck
Copy link
Owner Author

Beta available in 1.21.0-beta0313

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant