Comments (4)
The database itself should create that directory. No need to use os.Mkdir
.
from frostdb.
The database itself should create that directory. No need to use
os.Mkdir
.
Thks, I will test it
from frostdb.
Same mistake panic: frostdb.New failed initializing meta DB: sync frostdb\databases\test\wal: Access is denied.
package main
import (
"context"
stdlog "log"
"github.com/apache/arrow/go/v15/arrow"
"github.com/apache/arrow/go/v15/arrow/memory"
"github.com/thanos-io/objstore"
"github.com/polarsignals/frostdb"
"github.com/polarsignals/frostdb/dynparquet"
"github.com/polarsignals/frostdb/query/logicalplan"
)
func main() {
stdlog.SetFlags(stdlog.LstdFlags | stdlog.Lshortfile)
stdlog.Print("I sure like pie")
dir := "frostdb"
bucket := objstore.NewInMemBucket()
sinksource := frostdb.NewDefaultObjstoreBucket(bucket)
// 创建 ColumnStore 对象
c, err := frostdb.New(
frostdb.WithWAL(),
frostdb.WithStoragePath(dir),
frostdb.WithReadWriteStorage(sinksource),
frostdb.WithActiveMemorySize(100*frostdb.KiB),
)
if err != nil {
stdlog.Panicln("frostdb.New", err)
}
from frostdb.
I would check the permissions of the directory that the program is running in. It seems like the program doesn't have permissions to create a directory in the frostdb dir. This doesn't appear to be a FrostDB issue but a local permissions issue.
Alternatively you could update your test to perform a MkdirAll("frostdb\databases\test\wal", 0755)
from frostdb.
Related Issues (20)
- memory leak for PredicateFilter HOT 1
- panic: Duplicate registration HOT 1
- `Test_Table_ReadIsolation` flaky
- MergeRecords can support array.Float64 sort? HOT 4
- Proper transaction support HOT 4
- Snapshot refactor
- index: block rotation deadlock due to not releasing parts
- snapshot: two snapshots at the same txn causes data loss
- Add renovate to keep our dependencies up-to-date HOT 1
- There is an issue with the combination of readOnlyTable and ValidateTableScan HOT 2
- arrowutils.mergeRecords function has an assertion error HOT 4
- The problem of combining aggregation function with custom runtime.GOMAXPROCS(1) HOT 1
- Several Issues on Iceberg HOT 3
- An exception that generates an empty parquet file
- Transaction rearchitecture HOT 3
- There is a bug in the table compactParts function HOT 5
- Data race when opening database HOT 3
- dst: enhancements tracking issue
- There is an issue with the current snapshot losing some ManifestEntry when Iceberg concurrently executes uploads HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frostdb.