Skip to content

Added autogeneration for lanterdb.control file from CMake#53

Merged
Ngalstyan4 merged 5 commits intolanterndata:mainfrom
grubdragon:ControlfileAutogen
Aug 15, 2023
Merged

Added autogeneration for lanterdb.control file from CMake#53
Ngalstyan4 merged 5 commits intolanterndata:mainfrom
grubdragon:ControlfileAutogen

Conversation

@grubdragon
Copy link
Copy Markdown
Contributor

@grubdragon grubdragon commented Aug 14, 2023

Why?
Only thing that changes with every release is the LANTERNDB_VERSION number, which already needs to be set in CMakeLists.txt
Doing so in the lanterndb.control file manually can be eliminated with this autogeneration added in CmakeLists

Testing Notes:

  1. Run cmake .. from the .\build folder. It should generate the lanterndb.control file in the base directory.

Resolves #30

@grubdragon grubdragon marked this pull request as ready for review August 14, 2023 07:18
@var77
Copy link
Copy Markdown
Collaborator

var77 commented Aug 14, 2023

Looks good to me!

Copy link
Copy Markdown
Contributor

@Ngalstyan4 Ngalstyan4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution, Aryan!
Can you move the template file to the cmake directory?

@grubdragon
Copy link
Copy Markdown
Contributor Author

@Ngalstyan4 updated the implementation

@grubdragon grubdragon requested a review from Ngalstyan4 August 14, 2023 18:39
@grubdragon
Copy link
Copy Markdown
Contributor Author

@Ngalstyan4

@Ngalstyan4 Ngalstyan4 merged commit 1e79669 into lanterndata:main Aug 15, 2023
@grubdragon grubdragon deleted the ControlfileAutogen branch August 15, 2023 10:53
var77 added a commit that referenced this pull request Oct 8, 2024
* Fix column names for index autotune

* Try to reduce memory usage on index creation

* Drop variables as soon as they are not needed anymore

* Drop values outside and remove unnecessary cursor close statement

* Change internal schema name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auto-generate lanterndb.control

3 participants