No description
Find a file
HHans09 9346e26158 Fb:1787 - Clean up (#2339)
* Fb:1787 - Clean up

* fb-1787 : String upper function

* Formatting the files

(cherry picked from commit 57ce7c4c0e)
2023-01-10 23:18:38 +00:00
.github/workflows chore: adds release workflow with basic build step (#2182) 2022-10-25 10:41:39 -04:00
api/client enable staticcheck in ci; remove dead code (#2281) 2022-11-15 11:33:12 -08:00
authn Dataframe (#2241) 2022-12-12 09:01:20 -08:00
authz fix: updating code to meet linting requirements (#2171) 2022-09-29 12:34:29 -04:00
batch Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
boltdb staticcheck fixes (#2278) 2022-11-15 11:33:10 -08:00
client Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
cmd Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
context implement fb_exec_requests system table (#2327) 2022-12-12 09:01:20 -08:00
ctl Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
dax Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
debugstats Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
disco Introduce ServiceManager and Refactor DAX Integration tests (#2320) 2022-12-12 09:01:20 -08:00
encoding/proto Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
errors Add DAX - full list of squashed commits below 2022-12-12 09:01:20 -08:00
etcd enforce int min/max constraints on insert (fb-1772) (#2325) 2022-12-12 09:01:20 -08:00
fbcloud Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
gcnotify Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
generator Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
gopsutil Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
hash fix: updating code to meet linting requirements (#2171) 2022-09-29 12:34:29 -04:00
idk Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
install Packaging improvements to improve mcloud updates (#2288) 2022-11-15 11:33:12 -08:00
internal FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-12-12 09:01:20 -08:00
lattice This adds in support to the lattice UI application to use the SQL3 (#2338) 2022-12-12 09:01:20 -08:00
logger Add DAX - full list of squashed commits below 2022-12-12 09:01:20 -08:00
lru Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
mock Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
monitor Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
net staticcheck fixes (#2278) 2022-11-15 11:33:10 -08:00
pb [FB-1776] support for marshaling ExtractedIDMatrixSorted (#2319) 2022-12-12 09:01:20 -08:00
pql non-sql aggregation, top, decimal and sundries (#2328) 2022-12-12 09:01:20 -08:00
prometheus Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
proto merge: featurebase merge updates for 2022-10-28 (#2188) 2022-10-28 13:08:23 -04:00
qa Rename some interfaces. Remove the ComputeAPI (#2333) 2022-12-12 09:01:20 -08:00
querycontext bump timeout on overlapping write requests test 2022-12-12 09:01:20 -08:00
rbf upgrade to immutable 0.4.0(generics) (#2317) 2022-12-12 09:01:20 -08:00
roaring staticcheck fixes (#2278) 2022-11-15 11:33:10 -08:00
runners feat: builds docker images for running featurebase from a release (#2193) 2022-11-08 13:07:17 -05:00
scripts Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
server Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
shardwidth feat: updates shardwidth.Exponent to single constant (#2185) 2022-10-25 13:30:00 -04:00
short_txkey staticcheck fixes (#2278) 2022-11-15 11:33:10 -08:00
sql Fixed some import issues resulting from syncing the private repo 2022-11-17 08:58:22 -08:00
sql3 Add Table.Description, Table.CreatedAt, Field.CreatedAt support to SchemaAPI (#2340) 2023-01-10 23:18:32 +00:00
statik staticcheck fixes (#2278) 2022-11-15 11:33:10 -08:00
stats added testify dependency 2022-09-30 11:31:37 -07:00
statsd Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
storage Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
systemlayer Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
syswrap Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
task Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
test Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
testdata refactor testing to share clusters more often 2022-09-30 11:10:47 -07:00
testhook improve post-hook behavior 2022-09-30 11:10:47 -07:00
toml Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
tracing Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
txkey staticcheck fixes (#2278) 2022-11-15 11:33:10 -08:00
vprint Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
.gitignore Dataframe (#2241) 2022-12-12 09:01:20 -08:00
.golangci.yml chore: adds golangci config (#2174) 2022-10-17 11:42:33 -04:00
api.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
api_directive.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
api_directive_internal_test.go Add DAX - full list of squashed commits below 2022-12-12 09:01:20 -08:00
api_directive_test.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
api_test.go Don't use reflect.DeepEqual to compare errors. 2022-12-12 09:01:20 -08:00
apimethod_string.go Drop the ingest subpackage and related endpoints. 2022-11-15 11:31:10 -08:00
apply.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
arrow.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
audit.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
audit_internal_test.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
audit_test.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
broadcast.go Dataframe (#2241) 2022-12-12 09:01:20 -08:00
bsi.go Add DAX - full list of squashed commits below 2022-12-12 09:01:20 -08:00
bsi_test.go Add DAX - full list of squashed commits below 2022-12-12 09:01:20 -08:00
cache.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
cache_test.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
catcher.go Add DAX - full list of squashed commits below 2022-12-12 09:01:20 -08:00
cluster.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
cluster_internal_test.go drop anti-entropy feature, since it doesn't work 2022-11-15 11:31:13 -08:00
CODE_OF_CONDUCT.md Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
const_amd64.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
const_other.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
dataframe_test.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
dbshard.go staticcheck fixes (#2278) 2022-11-15 11:33:10 -08:00
dbshard_internal_test.go merge: featurebase merge updates for 2022-10-28 (#2188) 2022-10-28 13:08:23 -04:00
dbshard_test.go cleaned up sync from private repo 2022-09-30 11:20:58 -07:00
delete_test.go refactor testing to share clusters more often 2022-09-30 11:10:47 -07:00
diagnostics.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
diagnostics_internal_test.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
doc.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
Dockerfile Make SOURCE_DATE_EPOCH changes for idk 2022-12-12 09:01:20 -08:00
Dockerfile-clustertests Add DAX - full list of squashed commits below 2022-12-12 09:01:20 -08:00
Dockerfile-clustertests-client Add DAX - full list of squashed commits below 2022-12-12 09:01:20 -08:00
Dockerfile-datagen Add DAX - full list of squashed commits below 2022-12-12 09:01:20 -08:00
Dockerfile-dax Add DAX - full list of squashed commits below 2022-12-12 09:01:20 -08:00
Dockerfile-dax-quick Add DAX - full list of squashed commits below 2022-12-12 09:01:20 -08:00
et_test.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
event.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
executor.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
executor_internal_test.go Dataframe (#2241) 2022-12-12 09:01:20 -08:00
executor_test.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
field.go merge: featurebase merge updates for 2022-10-28 (#2188) 2022-10-28 13:08:23 -04:00
field_internal_test.go added testify dependency 2022-09-30 11:31:37 -07:00
field_test.go merge: featurebase merge updates for 2022-10-28 (#2188) 2022-10-28 13:08:23 -04:00
filesystem.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
fragment.go Add DAX - full list of squashed commits below 2022-12-12 09:01:20 -08:00
fragment_internal_test.go drop anti-entropy feature, since it doesn't work 2022-11-15 11:31:13 -08:00
gc.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
gid.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
go.mod Introduce ServiceManager and Refactor DAX Integration tests (#2320) 2022-12-12 09:01:20 -08:00
go.sum Introduce ServiceManager and Refactor DAX Integration tests (#2320) 2022-12-12 09:01:20 -08:00
hack.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
handler.go Don't use reflect.DeepEqual to compare errors. 2022-12-12 09:01:20 -08:00
handler_test.go Don't use reflect.DeepEqual to compare errors. 2022-12-12 09:01:20 -08:00
holder.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
holder_internal_test.go merge: featurebase merge updates for 2022-10-28 (#2188) 2022-10-28 13:08:23 -04:00
holder_test.go Fixed a few more conflicts around imports with the latest sync 2022-11-17 10:00:53 -08:00
http_handler.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
http_handler_internal_test.go fix: updating code to meet linting requirements (#2171) 2022-09-29 12:34:29 -04:00
http_handler_test.go Drop the ingest subpackage and related endpoints. 2022-11-15 11:31:10 -08:00
http_translator.go fix: updating code to meet linting requirements (#2171) 2022-09-29 12:34:29 -04:00
http_translator_test.go merge: featurebase merge updates for 2022-10-28 (#2188) 2022-10-28 13:08:23 -04:00
idalloc.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
idalloc_test.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
importer.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
index.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
index_internal_test.go merge: featurebase merge updates for 2022-10-28 (#2188) 2022-10-28 13:08:23 -04:00
index_test.go merge: featurebase merge updates for 2022-10-28 (#2188) 2022-10-28 13:08:23 -04:00
internal_client.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
internal_client_test.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
iterator.go Fixed some import issues resulting from syncing the private repo 2022-11-17 08:58:22 -08:00
iterator_internal_test.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
LICENSE-2.0.txt Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
license.exceptions Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
like.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
like_test.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
main_test.go use testhook test cleanup 2022-09-30 11:25:27 -07:00
Makefile Make SOURCE_DATE_EPOCH changes for idk 2022-12-12 09:01:20 -08:00
metrics.go Dataframe (#2241) 2022-12-12 09:01:20 -08:00
nfpm.yaml Packaging improvements to improve mcloud updates (#2288) 2022-11-15 11:33:12 -08:00
NOTICE Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
pilosa.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
pilosa_internal_test.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
pilosa_test.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
pprof.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
rbf.go Fixed some import issues resulting from syncing the private repo 2022-11-17 08:58:22 -08:00
README.md Update README.md 2022-10-13 13:41:54 -07:00
row.go Dataframe (#2241) 2022-12-12 09:01:20 -08:00
row_test.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
schema.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
serializer.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
server.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
server_internal_test.go drop anti-entropy feature, since it doesn't work 2022-11-15 11:31:13 -08:00
server_test.go refactor testing to share clusters more often 2022-09-30 11:10:47 -07:00
sql_test.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
stattx.go drop anti-entropy feature, since it doesn't work 2022-11-15 11:31:13 -08:00
systemlayer.go implement fb_exec_requests system table (#2327) 2022-12-12 09:01:20 -08:00
time.go staticcheck fixes (#2278) 2022-11-15 11:33:10 -08:00
time_internal_test.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
tracker.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
tracker_test.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
transaction.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
transaction_test.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
translate.go Fixed some import issues resulting from syncing the private repo 2022-11-17 08:58:22 -08:00
translator_test.go cleaned up sync from private repo 2022-09-30 11:20:58 -07:00
tx.go drop anti-entropy feature, since it doesn't work 2022-11-15 11:31:13 -08:00
tx_internal_test.go significant refactor of test setup and teardown 2022-09-30 11:25:27 -07:00
tx_test.go Fixed a few more conflicts around imports with the latest sync 2022-11-17 10:00:53 -08:00
txfactory.go Add DAX - full list of squashed commits below 2022-12-12 09:01:20 -08:00
txfactory_internal_test.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
util.go continue removing Tx parameters to view-type functions 2022-09-30 11:25:27 -07:00
util_test.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
utils_internal_test.go refactor testing to share clusters more often 2022-09-30 11:10:47 -07:00
version.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
view.go significant refactor of test setup and teardown 2022-09-30 11:25:27 -07:00
view_internal_test.go significant refactor of test setup and teardown 2022-09-30 11:25:27 -07:00
wire_response.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00

FeatureBase

Pilosa is now FeatureBase

As of September 7, 2022, the Pilosa project is now FeatureBase. The core of the project remains the same: FeatureBase is the first real-time distributed database built entirely on bitmaps. (More information about updated capabilities and improvements below.)

FeatureBase delivers low-latency query results, regardless of throughput or query volumes, on fresh data with extreme efficiency. It works because bitmaps are faster, simpler, and far more I/O efficient than traditional column-oriented data formats. With FeatureBase, you can ingest data from batch data sources (e.g. S3, CSV, Snowflake, BigQuery, etc.) and/or streaming data sources (e.g. Kafka/Confluent, Kinesis, Pulsar).

For more information about FeatureBase, please visit www.featurebase.com.

Getting Started

Build FeatureBase Server from source

  1. Install go. Ensure that your shell's search path includes the go/bin directory.
  2. Clone the FeatureBase repository (or download as zip).
  3. In the featurebase directory, run make install to compile the FeatureBase server binary. By default, it will be installed in the go/bin directory.
  4. In the idk directory, run make install to compile the ingester binaries. By default, they will be installed in the go/bin directory.
  5. Run featurebase server --handler.allowed-origins=http://localhost:3000 to run FeatureBase server with default settings (learn more about configuring FeatureBase at the link below). The --handler.allowed-origins parameter allows the standalone web UI to talk to the server; this can be omitted if the web UI is not needed.
  6. Run curl localhost:10101/status to verify the server is running and accessible.

Ingest Data and Query

  1. Run
molecula-consumer-csv \
    --index repository \
    --header "language__ID_F,project_id__ID_F" \
    --id-field project_id \
    --batch-size 1000 \
    --files example.csv

This will ingest the example.csv file into a FeatureBase table called repository. If the table does not exist, it will be automatically created. Learn more about ingesting into FeatureBase: https://docs.featurebase.com/data-ingestion/enterprise/ingesters

  1. Query your data.
curl localhost:10101/index/repository/query \
     -X POST \
     -d 'Row(example=5)'

Learn about supported SQL, native Pilosa Query Language (PQL).

Data Model

Because FeatureBase is built on bitmaps, there is bit of a learning curve to grasp how your data is represented. Data Model Guide: https://docs.featurebase.com/data-modeling-guide/data-modeling

More Information

Installation:https://docs.featurebase.com/setting-up-featurebase/enterprise/installing-featurebase

Configuration: https://docs.featurebase.com/setting-up-featurebase/enterprise/featurebase-configuration

Community

You can email us at community@featurebase.com or learn more about contributing at https://www.featurebase.com/community.

Chat with us: https://discord.gg/FBn2vEp7Na

What's Changed Since the Pilosa Days?

A lot has changed since the days of Pilosa. This list highlights some new capabilites included in FeatureBase. We have also made signficant improvements to the performance, scalability, and stability of the FeatureBase product.

  • Query Languages: FeatureBase supports Pilosa Query Language (PQL), as well as SQL
  • Stream and Batch Ingest: Combine real-time data streams with batch historical data and act on it within milliseconds.
  • Mutable: Perform inserts, updates, and deletes at scale, in real time and on-the-fly. This is key for meeting data compliance requirements, and for reflecting the constantly-changing nature of high-volume data.
  • Multi-Valued Set Fields: Store multiple comma-delimited values within a single field while increasing query performance of counts, TopKs, etc.
  • Time Quantums: Setting a time quantum on a field creates extra views which allow ranged Row queries down to the time interval specified. For example, if the time quantum is set to YMD, ranged Row queries down to the granularity of a day are supported.
  • RBF storage backend: this is a new compressed bitmap format which improves performance in a number of ways: ACID support on a per shard basis, prevents issues with the number of open files, reduces memory allocation and lock contention for reads, provides more consistent garbage collection, and allows backups to run concurrently with writes. However, because of this change, Pilosa backup files cannot be restored into FeatureBase.

License

FeatureBase is licensed under the Apache License, Version 2.0