Skip to content

Commit

Permalink
Chore (#248)
Browse files Browse the repository at this point in the history
* Move `CODEOWNERS` file from root to `.github` folder

Signed-off-by: Levko Kravets <[email protected]>

* Remove `docs` folder as no longer relevant

Signed-off-by: Levko Kravets <[email protected]>

* Revisit Readme and examples

Signed-off-by: Levko Kravets <[email protected]>

---------

Signed-off-by: Levko Kravets <[email protected]>
  • Loading branch information
kravets-levko authored Apr 15, 2024
1 parent c84ef8a commit c00f72e
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 239 deletions.
File renamed without changes.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Databricks SQL Driver for NodeJS
# Databricks SQL Driver for Node.js

![http://www.apache.org/licenses/LICENSE-2.0.txt](http://img.shields.io/:license-Apache%202-brightgreen.svg)
[![npm](https://img.shields.io/npm/v/@databricks/sql?color=blue&style=flat)](https://www.npmjs.com/package/@databricks/sql)
Expand All @@ -7,11 +7,7 @@

## Description

The Databricks SQL Driver for NodeJS is a Javascript driver for applications that connect to Databricks clusters and SQL warehouses. This project is a fork of [Hive Driver](https://github.com/lenchv/hive-driver) which connects via Thrift API.

## Documentation

For detailed documentation and usage examples, read the [Getting Started](docs/readme.md) guide.
The Databricks SQL Driver for Node.js is a Javascript driver for applications that connect to Databricks clusters and SQL warehouses. This project is a fork of [Hive Driver](https://github.com/lenchv/hive-driver) which connects via Thrift API.

## Requirements

Expand Down Expand Up @@ -63,7 +59,7 @@ You can run all unit tests, or specify a specific test to run:

```bash
npm test
npm test <path/to/file.test.js>
npm test -- <path/to/file.test.js>
```

### e2e tests
Expand All @@ -83,7 +79,7 @@ Then run

```bash
npm run e2e
npm run e2e <path/to/file.test.js>
npm run e2e -- <path/to/file.test.js>
```

## Contributing
Expand Down
166 changes: 0 additions & 166 deletions docs/readme.md

This file was deleted.

62 changes: 0 additions & 62 deletions docs/troubleshooting.md

This file was deleted.

1 change: 0 additions & 1 deletion examples/logging.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const { LOADIPHLPAPI } = require('dns');
const { DBSQLClient, DBSQLLogger, LogLevel } = require('../');

// This logger will emit logs to console and log.txt
Expand Down
2 changes: 0 additions & 2 deletions examples/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ const { DBSQLClient } = require('../');

const client = new DBSQLClient();

const utils = DBSQLClient.utils;

const host = '****.databricks.com';
const path = '/sql/2.0/warehouses/****';
const token = 'dapi********************************';
Expand Down

0 comments on commit c00f72e

Please sign in to comment.