如何解决除Adventureworks以外的OLAP数据集?
我正在寻找各种多维数据集数据,以更好地理解它。我还创建了一些自己的游戏,但是这样做很繁琐,尤其是将表/视图保存到多维数据集中。
除了Adventure Works
以外,我还可以下载任何数据集来玩吗?我一直很难通过Google,MSDN等找到这些工具。我愿意接受任何东西!
解决方法
在此github link中,您将找到除app.get('/readDir',function (req,res) {
// Read the contents of the directory /usr/local/bin asynchronously.
// The callback will be invoked once the operation has either completed
// or failed.
fs.readdir('./images',(err,files) => {
// On error,show it and return
if (err) return console.error(err);
console.log('@@@@@@@@files : @@@@@@',files);
fs.open(`./images/${files[0]}`,'r',fd) => {
if (err) {
if (err.code === 'ENOENT') {
console.error('myfile does not exist');
return;
}
throw err;
}
});
fs.readFile(
`./images/${files[0]}`,{ encoding: 'base64',flag: 'r+' },async function (err,data) {
if (err) {
console.log('files[0] : ',`./images/${files[0]}`);
console.log('ERROR?????????');
console.error(err);
throw err;
}
// console.log('test file is loaded:\n',data);
try {
const formData = new FormData();
formData.append('filedata',data,{
contentType: 'image/jpeg',filename: `${files[0]}`,});
const response = await myApi.put('/files',formData,{
headers: {
'content-type': 'multipart/form-data',},});
console.log('response ::',response.data);
res.send('read success');
} catch (error) {
console.error('@@@@@@@@@@@@@@@@@@@@@@');
console.error(error.response);
res.send('read ' + error.response.data);
console.error('@@@@@@@@@@@@@@@@@@@@@@');
}
}
);
});
});
之外的2个示例数据库
- 全球进口商。
- contoso数据仓库。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。