Skip to content

Commit c00f72e

Browse files
Chore (#248)
* Move `CODEOWNERS` file from root to `.github` folder Signed-off-by: Levko Kravets <levko.ne@gmail.com> * Remove `docs` folder as no longer relevant Signed-off-by: Levko Kravets <levko.ne@gmail.com> * Revisit Readme and examples Signed-off-by: Levko Kravets <levko.ne@gmail.com> --------- Signed-off-by: Levko Kravets <levko.ne@gmail.com>
1 parent c84ef8a commit c00f72e

File tree

6 files changed

+4
-239
lines changed

6 files changed

+4
-239
lines changed
File renamed without changes.

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Databricks SQL Driver for NodeJS
1+
# Databricks SQL Driver for Node.js
22

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

88
## Description
99

10-
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.
11-
12-
## Documentation
13-
14-
For detailed documentation and usage examples, read the [Getting Started](docs/readme.md) guide.
10+
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.
1511

1612
## Requirements
1713

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

6460
```bash
6561
npm test
66-
npm test <path/to/file.test.js>
62+
npm test -- <path/to/file.test.js>
6763
```
6864

6965
### e2e tests
@@ -83,7 +79,7 @@ Then run
8379

8480
```bash
8581
npm run e2e
86-
npm run e2e <path/to/file.test.js>
82+
npm run e2e -- <path/to/file.test.js>
8783
```
8884

8985
## Contributing

docs/readme.md

Lines changed: 0 additions & 166 deletions
This file was deleted.

docs/troubleshooting.md

Lines changed: 0 additions & 62 deletions
This file was deleted.

examples/logging.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
const { LOADIPHLPAPI } = require('dns');
21
const { DBSQLClient, DBSQLLogger, LogLevel } = require('../');
32

43
// This logger will emit logs to console and log.txt

examples/session.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ const { DBSQLClient } = require('../');
22

33
const client = new DBSQLClient();
44

5-
const utils = DBSQLClient.utils;
6-
75
const host = '****.databricks.com';
86
const path = '/sql/2.0/warehouses/****';
97
const token = 'dapi********************************';

0 commit comments

Comments
 (0)