-
Notifications
You must be signed in to change notification settings - Fork 11
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
Tag table with backwards compatibility #68
Merged
Aaronontheweb
merged 27 commits into
akkadotnet:dev
from
to11mtm:tag-table-with-backwards-compat
Feb 3, 2023
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
660f637
index creation app example
to11mtm fec6cf5
WIP Tag Table with backwards compatibility
to11mtm 8b65724
fix incomplete rename refactor, re-add case to guarantee manifest is …
to11mtm adc8ce4
fix: code for journal queries was not always respecting isdeleted
to11mtm 6936c1e
Added WIP Tag-join-via UUID Support for users who may want faster wri…
to11mtm 627d159
Try refactoring to make older compiler happy about expressions.
to11mtm bc52579
Try Unwinding ternarys to make compiler happy.
to11mtm 3778099
WIP Allow proper handling of EventManifest
to11mtm 4c2dc03
Merge branch 'dev' into tag-table-with-backwards-compat
Aaronontheweb 34570b9
Rename Class1.cs to JournalIndexHelper.cs
Aaronontheweb d41e3c1
Merge branch 'dev' into tag-table-with-backwards-compat
Arkatufus f5e59b3
Move dangling projects into src folder
Arkatufus 56777fa
Cleanup property names
Arkatufus f67450d
Merge branch 'dev' into tag-table-with-backwards-compat
Arkatufus d4e2984
Fix merge issues
Arkatufus 060da94
Fix table column name compatibility problem
Arkatufus 5a4595b
Fix logical delete compatibility problem
Arkatufus 67bd601
Merge branch 'dev' into tag-table-with-backwards-compat
Arkatufus 9e32549
Merge branch 'dev' into tag-table-with-backwards-compat
Arkatufus 095b0dd
post-merge cleanup
Arkatufus 969116b
Convert unit tests to use TestKit
Arkatufus bfe4f86
Fix unit tests
Arkatufus 3455e3c
Merge branch 'dev' into tag-table-with-backwards-compat
Arkatufus 1db2523
Merge branch 'dev' into tag-table-with-backwards-compat
Arkatufus d7a283d
Add SqlServer SQL script migration spec
Arkatufus b2a3329
Add PostgreSql and MySql SQL script spec
Arkatufus c59c980
Remove bit flag
Arkatufus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
INSERT INTO [dbo].[TagTable]([ordering_id], [tag]) | ||
INSERT INTO [dbo].[tags]([ordering_id], [tag]) | ||
SELECT * FROM ( | ||
SELECT a.[Ordering], b.[items] FROM | ||
[dbo].[EventJournal] AS a | ||
CROSS APPLY [dbo].[Split](a.Tags, ';') b | ||
) AS s([ordering_id], [tag]) | ||
WHERE NOT EXISTS ( | ||
SELECT * FROM [dbo].[TagTable] t WITH (updlock) | ||
SELECT * FROM [dbo].[tags] t WITH (updlock) | ||
WHERE s.[ordering_id] = t.[ordering_id] AND s.[tag] = t.[tag] | ||
); |
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,14 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netcoreapp3.1</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Akka.Streams" Version="1.4.21" /> | ||
<PackageReference Include="linq2db" Version="3.4.1" /> | ||
<PackageReference Include="Reactive.Streams" Version="1.0.2" /> | ||
</ItemGroup> | ||
|
||
</Project> |
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
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
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
105 changes: 0 additions & 105 deletions
105
...tibility.DockerTests/Postgres/DockerLinq2DbPostgreSqlSqlCommonJournalCompatibilitySpec.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for an explicit Reactive.Streams reference here